diff --git a/build.gradle b/build.gradle index 83b0597..8cfd451 100644 --- a/build.gradle +++ b/build.gradle @@ -38,17 +38,14 @@ processResources { } tasks.withType(JavaCompile).configureEach { - it.options.release = 21 + it.options.release = 17 } java { - // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task - // if it is present. - // If you remove this line, sources will not be generated. withSourcesJar() - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } jar { diff --git a/src/main/resources/leavesly.mixins.json b/src/main/resources/leavesly.mixins.json index 36df2ba..681e3dd 100644 --- a/src/main/resources/leavesly.mixins.json +++ b/src/main/resources/leavesly.mixins.json @@ -1,7 +1,7 @@ { "required": true, "package": "com.ishikyoo.leavesly.mixin", - "compatibilityLevel": "JAVA_21", + "compatibilityLevel": "JAVA_17", "mixins": [ "LeavesBlockMixin", "CherryLeavesBlockMixin",