Skip to content

Commit a8cadc6

Browse files
committed
feat(build): Update Java toolchain to version 21 and configure shadowJar task
1 parent 26665f0 commit a8cadc6

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

velocity-plugin/build.gradle.kts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ dependencies {
1010
annotationProcessor(libs.velocity.api)
1111
}
1212

13+
java {
14+
toolchain {
15+
languageVersion.set(JavaLanguageVersion.of(21))
16+
}
17+
}
18+
19+
tasks {
20+
shadowJar {
21+
archiveClassifier.set("")
22+
}
23+
}
24+
1325

1426
publishing {
1527
publications.create<MavenPublication>("maven") {

0 commit comments

Comments
 (0)