File tree Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Expand file tree Collapse file tree 5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v3
14- - name : Set up JDK 17
14+ - name : Set up JDK
1515 uses : actions/setup-java@v3
1616 with :
17- java-version : ' 17 '
18- distribution : ' adopt '
17+ distribution : temurin
18+ java-version : 21
1919 - name : Validate Gradle wrapper
20202121 - name : Checkstyle
Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - uses : actions/checkout@v3
16- - name : Set up JDK 17
16+ - name : Set up JDK
1717 uses : actions/setup-java@v3
1818 with :
19- java-version : ' 17 '
20- distribution : ' adopt '
19+ distribution : temurin
20+ java-version : 21
2121 - name : Validate Gradle wrapper
22222323 - name : Build sourcesJar and javadocJar
Original file line number Diff line number Diff line change 1616 name : Setup Java
1717 with :
1818 distribution : temurin
19- java-version : 17
19+ java-version : 21
2020 - name : Generate and submit dependency graph
2121 uses :
gradle/actions/[email protected] 2222 with :
Original file line number Diff line number Diff line change @@ -3,8 +3,6 @@ plugins {
33 alias(libs. plugins. nexus. publish)
44}
55
6- def javaVersion = providers. environmentVariable(" JAVA_BUILD_VERSION" ). getOrElse(" 17" )
7-
86apply from : " ${ rootDir} /gradle/publish-root.gradle"
97
108allprojects {
@@ -14,7 +12,7 @@ allprojects {
1412
1513 java {
1614 toolchain {
17- languageVersion = JavaLanguageVersion . of(javaVersion )
15+ languageVersion = JavaLanguageVersion . of(libs . versions . java . get() )
1816 }
1917 }
2018
Original file line number Diff line number Diff line change 11[versions ]
2+ java = " 21"
23spring-boot = " 3.4.0"
34spring-dependency-management = " 1.1.6"
45openapi-generator = " 7.10.0"
You can’t perform that action at this time.
0 commit comments