diff --git a/README.md b/README.md index 0306097..80546ab 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ # SnowyGUI -This mod requires fabric-language-kotlin on fabric, kotlinforforge on forge **and also needs Java 14 or higher**. \ No newline at end of file +This mod requires fabric-language-kotlin on fabric, kotlinforforge on forge **and also needs Java 11 or higher**. \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 2f717ee..cc12df6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -86,7 +86,7 @@ subprojects { } } -val javaVer: String = "14" +val javaVer: String = "11" val kotlinVer = rootProject.property("kotlin_stdlib_version").toString() + ".0" val mcBase: String = rootProject.architectury.minecraft.dropLast(2) allprojects { diff --git a/common/src/main/resources/snowygui-mixins.json b/common/src/main/resources/snowygui-mixins.json index f8df476..2f5b07c 100644 --- a/common/src/main/resources/snowygui-mixins.json +++ b/common/src/main/resources/snowygui-mixins.json @@ -1,7 +1,7 @@ { "required": true, "package": "fr.username404.snowygui.mixins", - "compatibilityLevel": "JAVA_14", + "compatibilityLevel": "JAVA_11", "client": [ "KeysAccessor", "KeyMappings",