From 6b64bb3095d0587270458dd7bb16961669757874 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 12 May 2021 17:48:13 +0200 Subject: [PATCH] Set javaVer to 11 since forge doesn't support java 14 mixins --- README.md | 2 +- build.gradle.kts | 2 +- common/src/main/resources/snowygui-mixins.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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",