Set javaVer to 11 since forge doesn't support java 14 mixins

This commit is contained in:
Username404-59 2021-05-12 17:48:13 +02:00
parent 79d970612d
commit 6b64bb3095
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
# SnowyGUI # SnowyGUI
This mod requires fabric-language-kotlin on fabric, kotlinforforge on forge **and also needs Java 14 or higher**. This mod requires fabric-language-kotlin on fabric, kotlinforforge on forge **and also needs Java 11 or higher**.

View File

@ -86,7 +86,7 @@ subprojects {
} }
} }
val javaVer: String = "14" val javaVer: String = "11"
val kotlinVer = rootProject.property("kotlin_stdlib_version").toString() + ".0" val kotlinVer = rootProject.property("kotlin_stdlib_version").toString() + ".0"
val mcBase: String = rootProject.architectury.minecraft.dropLast(2) val mcBase: String = rootProject.architectury.minecraft.dropLast(2)
allprojects { allprojects {

View File

@ -1,7 +1,7 @@
{ {
"required": true, "required": true,
"package": "fr.username404.snowygui.mixins", "package": "fr.username404.snowygui.mixins",
"compatibilityLevel": "JAVA_14", "compatibilityLevel": "JAVA_11",
"client": [ "client": [
"KeysAccessor", "KeysAccessor",
"KeyMappings", "KeyMappings",