Skip to content

Commit 62393b5

Browse files
committed
Use runtime plugin fork
Updates the runtime plugin to a fork with support for java 21, instead of the upstream https://github.com/beryx/badass-runtime-plugin. See beryx/badass-runtime-plugin#154 for more details. Also changed the java version back to 21.
1 parent 7959054 commit 62393b5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build.gradle

+6-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ plugins {
3636
id "com.palantir.git-version" version "0.12.3"
3737
id "checkstyle"
3838
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"
4043
}
4144

4245

@@ -69,7 +72,7 @@ task javadocJar(type: Jar) {
6972
ext {
7073
// Load the Smithy Language Server version from VERSION.
7174
libraryVersion = project.file("VERSION").getText('UTF-8').replace(System.lineSeparator(), "")
72-
imageJreVersion = "17"
75+
imageJreVersion = "21"
7376
correttoRoot = "https://corretto.aws/downloads/latest/amazon-corretto-${imageJreVersion}"
7477
}
7578

@@ -206,7 +209,7 @@ tasks.named("checkstyleTest") {
206209

207210
java {
208211
toolchain {
209-
languageVersion = JavaLanguageVersion.of(17)
212+
languageVersion = JavaLanguageVersion.of(21)
210213
}
211214
}
212215

0 commit comments

Comments
 (0)