File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,10 @@ plugins {
36
36
id " com.palantir.git-version" version " 0.12.3"
37
37
id " checkstyle"
38
38
id " org.jreleaser" version " 1.13.0"
39
- id ' org.beryx.runtime' version ' 1.13.1'
39
+
40
+ // Fork of runtime plugin with java 21 support, until https://github.com/beryx/badass-runtime-plugin/issues/153
41
+ // is resolved.
42
+ id " com.dua3.gradle.runtime" version " 1.13.1-patch-1"
40
43
}
41
44
42
45
@@ -69,7 +72,7 @@ task javadocJar(type: Jar) {
69
72
ext {
70
73
// Load the Smithy Language Server version from VERSION.
71
74
libraryVersion = project. file(" VERSION" ). getText(' UTF-8' ). replace(System . lineSeparator(), " " )
72
- imageJreVersion = " 17 "
75
+ imageJreVersion = " 21 "
73
76
correttoRoot = " https://corretto.aws/downloads/latest/amazon-corretto-${ imageJreVersion} "
74
77
}
75
78
@@ -206,7 +209,7 @@ tasks.named("checkstyleTest") {
206
209
207
210
java {
208
211
toolchain {
209
- languageVersion = JavaLanguageVersion . of(17 )
212
+ languageVersion = JavaLanguageVersion . of(21 )
210
213
}
211
214
}
212
215
You can’t perform that action at this time.
0 commit comments