Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

Feature/update jdk 17 #899

Merged
merged 4 commits into from
Dec 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
java-version: 17
- name: Cache Gradle
uses: actions/cache@v3
env:
java-version: 8
java-version: 17
with:
path: |
~/.gradle/caches
Expand All @@ -52,11 +52,11 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
java-version: 17
- name: Cache Gradle
uses: actions/cache@v3
env:
java-version: 8
java-version: 17
with:
path: |
~/.gradle/caches
Expand All @@ -81,11 +81,11 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
java: [ 8, 11, 17 ]
java: [ 17 ]
needs: [ validation, commitlint ]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -81,12 +81,12 @@ jobs:
if: env.SONAR_TOKEN != null
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 11
- name: Set up JDK 17
if: env.SONAR_TOKEN != null
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Cache SonarCloud packages
if: env.SONAR_TOKEN != null
uses: actions/cache@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
java-version: 17
- name: Cache Gradle
uses: actions/cache@v3
env:
java-version: 8
java-version: 17
with:
path: |
~/.gradle/caches
Expand All @@ -48,11 +48,11 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 8
java-version: 17
- name: Cache Gradle
uses: actions/cache@v3
env:
java-version: 8
java-version: 17
with:
path: |
~/.gradle/caches
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
version=14.1.1-SNAPSHOT
version=15.0.0-SNAPSHOT
### Project Metadata
group=com.graphql-java-kickstart
PROJECT_NAME=graphql-spring-boot
Expand All @@ -26,8 +26,8 @@ PROJECT_LICENSE=MIT
PROJECT_LICENSE_URL=https://github.com/graphql-java-kickstart/spring-boot-graphql/blob/master/LICENSE.md
VCS=Git
###
SOURCE_COMPATIBILITY=1.8
TARGET_COMPATIBILITY=1.8
SOURCE_COMPATIBILITY=17
TARGET_COMPATIBILITY=17
### Dependencies
LIB_GRAPHQL_JAVA_VER=19.3
LIB_EXTENDED_SCALARS_VER=19.1
Expand Down