diff --git a/build.gradle.kts b/build.gradle.kts index b171eef..903c531 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,5 @@ import dev.deftu.gradle.utils.MinecraftVersion +import dev.deftu.gradle.utils.includeOrShade plugins { java @@ -33,6 +34,11 @@ dependencies { if (mcData.isFabric) { modImplementation("net.fabricmc.fabric-api:fabric-api:${mcData.dependencies.fabric.fabricApiVersion}") modImplementation("net.fabricmc:fabric-language-kotlin:${mcData.dependencies.fabric.fabricLanguageKotlinVersion}") + } else if (mcData.version <= MinecraftVersion.VERSION_1_12_2) { + implementation(includeOrShade(kotlin("stdlib-jdk8"))!!) + implementation(includeOrShade("org.jetbrains.kotlin:kotlin-reflect:1.6.10")!!) + + modImplementation(includeOrShade("org.spongepowered:mixin:0.7.11-SNAPSHOT")!!) } }