Skip to content

Commit cfc660c

Browse files
committed
[hibernate#1895] Update JDK to 17
1 parent 10a5529 commit cfc660c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/build.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ jobs:
9494
.gradle/wrapper
9595
# refresh cache every month to avoid unlimited growth
9696
key: gradle-examples-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
97-
- name: Set up JDK 11
97+
- name: Set up JDK 17
9898
uses: actions/[email protected]
9999
with:
100100
distribution: 'temurin'
101-
java-version: 11
101+
java-version: 17
102102
- name: Print the effective ORM version used
103103
run: ./gradlew :${{ matrix.example }}:dependencyInsight --dependency org.hibernate.orm:hibernate-core
104104
- name: Run examples in '${{ matrix.example }}' on ${{ matrix.db }}
@@ -136,11 +136,11 @@ jobs:
136136
.gradle/wrapper
137137
# refresh cache every month to avoid unlimited growth
138138
key: gradle-db-${{ matrix.db }}-${{ steps.get-date.outputs.yearmonth }}
139-
- name: Set up JDK 11
139+
- name: Set up JDK 17
140140
uses: actions/[email protected]
141141
with:
142142
distribution: 'temurin'
143-
java-version: 11
143+
java-version: 17
144144
- name: Print the effective ORM version used
145145
run: ./gradlew :hibernate-reactive-core:dependencyInsight --dependency org.hibernate.orm:hibernate-core
146146
- name: Build and Test with ${{ matrix.db }}
@@ -165,7 +165,7 @@ jobs:
165165
# To see the available versions and download links on jdk.java.net:
166166
# https://github.com/oracle-actions/setup-java/blob/main/jdk.java.net-uri.properties
167167
java:
168-
- { name: "11", java_version_numeric: 11 }
168+
#- { name: "11", java_version_numeric: 11 }
169169
- { name: "17", java_version_numeric: 17 }
170170
# We want to enable preview features when testing newer builds of OpenJDK:
171171
# even if we don't use these features, just enabling them can cause side effects
@@ -245,11 +245,11 @@ jobs:
245245
id: testjdk-exportpath
246246
run: echo "::set-output name=path::${JAVA_HOME}"
247247
# Always use JDK 11 to build the main code: that's what we use for releases.
248-
- name: Set up JDK 11
248+
- name: Set up JDK 17
249249
uses: actions/[email protected]
250250
with:
251251
distribution: 'temurin'
252-
java-version: 11
252+
java-version: 17
253253
check-latest: true
254254
- name: Export path to JDK 11
255255
id: mainjdk-exportpath

.github/workflows/scheduler.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
build-snapshots:
1212
strategy:
1313
matrix:
14-
branch: [ 'wip/2.3', 'wip/2.4' ]
14+
branch: [ 'wip/2.3', 'wip/2.4', 'wip/3.0' ]
1515
uses: ./.github/workflows/build.yml
1616
with:
1717
branch: ${{ matrix.branch }}

settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pluginManagement {
1313

1414
rootProject.name = 'hibernate-reactive'
1515

16-
gradle.ext.baselineJavaVersion = JavaLanguageVersion.of( 11 )
16+
gradle.ext.baselineJavaVersion = JavaLanguageVersion.of( 17 )
1717

1818
// Gradle does bytecode transformation on tests.
1919
// You can't use bytecode higher than what Gradle supports, even with toolchains.

0 commit comments

Comments
 (0)