Skip to content

Commit f997a60

Browse files
committed
Now works?
1 parent 7af0769 commit f997a60

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

neoforge/java17/v1_20_2/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ plugins {
99
version = rootProject.version
1010

1111
java {
12+
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
1213
sourceCompatibility = JavaVersion.VERSION_17
1314
targetCompatibility = JavaVersion.VERSION_17
1415
withSourcesJar()

neoforge/java21/v1_20_5/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ plugins {
99
version = rootProject.version
1010

1111
java {
12+
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
1213
sourceCompatibility = JavaVersion.VERSION_21
1314
targetCompatibility = JavaVersion.VERSION_21
1415
withSourcesJar()

0 commit comments

Comments
 (0)