Update kotlinforforge to 1.12.1 and remove the shadowed kotlinx-serialization library

This commit is contained in:
Username404 2021-05-30 11:23:25 +02:00
parent b28c8180b8
commit 36e30d2a29
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
3 changed files with 1 additions and 5 deletions

View File

@ -104,8 +104,6 @@ subprojects {
// Required for discord-rpc
keepclassmembers("class $group.drpc.** { public * ; }")
dontwarn("kotlinx.serialization.**")
doFirst {
libraryjars(configurations.compileClasspath.get().filterNot { file ->
shadowC.contains(file)

View File

@ -3,14 +3,12 @@ repositories {
maven(url = "https://thedarkcolour.github.io/KotlinForForge/")
}
val serializationVer: String by rootProject
dependencies {
forge("net.minecraftforge:forge:${rootProject.architectury.minecraft}-${rootProject.property("forge_version")}.+")
implementation("thedarkcolour:kotlinforforge:${rootProject.property("kotlinforforge")}")
modApi("me.shedaniel.cloth:cloth-config-forge:${rootProject.property("clothconfig_version")}")
implementation(project(path = ":common")) { isTransitive = false }
add("developmentForge", project(path = ":common")) { isTransitive = false }
shadowC("org.jetbrains.kotlinx:kotlinx-serialization-core:$serializationVer") { isTransitive = false } // Needed for kotlinx-datetime
shadowC(project(path = ":common", configuration = "transformProductionForge")) { isTransitive = false }
}; loom {
useFabricMixin = true

View File

@ -9,7 +9,7 @@ org.gradle.vfs.watch=true
minecraft=1.16.5
forge_version=36.1
kotlinforforge=1.12.0
kotlinforforge=1.12.1
kotlinVer=1.5.0
serializationVer=1.2.1
fabric_loader_version=0.11.3