File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 strategy :
1010 matrix :
11- java : ["11", " 17", "21"]
11+ java : ["17", "21"]
1212 steps :
1313 - uses : actions/checkout@v4
1414
4040 }
4141 }
4242 JAVA
43- gradle jar --no-daemon
4443 GSON=$(find ~/.gradle -name "gson-2.11.0.jar" | head -1)
4544 javac -cp "build/libs/zerodrop-java-0.1.0.jar:$GSON" SmokeTest.java
4645 java -cp "build/libs/zerodrop-java-0.1.0.jar:$GSON:." SmokeTest
Original file line number Diff line number Diff line change @@ -7,13 +7,14 @@ group = 'dev.zerodrop'
77version = ' 0.1.0'
88
99java {
10- toolchain {
11- languageVersion = JavaLanguageVersion . of(11 )
12- }
1310 withSourcesJar()
1411 withJavadocJar()
1512}
1613
14+ compileJava {
15+ options. release = 11
16+ }
17+
1718repositories {
1819 mavenCentral()
1920}
Original file line number Diff line number Diff line change 11jdk :
2- - openjdk11
2+ - openjdk17
You can’t perform that action at this time.
0 commit comments