diff options
author | Roman / Linnea Gräf <nea@nea.moe> | 2023-07-31 14:29:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-31 14:29:54 +0200 |
commit | 26138ee8c513627914bbc83a2510ced69ca017ff (patch) | |
tree | ccd31a55d6f595a2c177675c17869a22e7a9da7d /build.gradle.kts | |
parent | 9eff744e37e5053f2bf5496305651345afba26a4 (diff) | |
download | skyhanni-26138ee8c513627914bbc83a2510ced69ca017ff.tar.gz skyhanni-26138ee8c513627914bbc83a2510ced69ca017ff.tar.bz2 skyhanni-26138ee8c513627914bbc83a2510ced69ca017ff.zip |
Fixed kotlin libraries bundle correctly (#347)
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 3a21f6f23..b52dce855 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -6,7 +6,7 @@ plugins { id("gg.essential.loom") version "0.10.0.+" id("dev.architectury.architectury-pack200") version "0.1.3" id("com.github.johnrengelman.shadow") version "7.1.2" - kotlin("jvm") version "1.8.20-RC" + kotlin("jvm") version "1.9.0" } group = "at.hannibal2.skyhanni" @@ -68,20 +68,23 @@ dependencies { annotationProcessor("org.spongepowered:mixin:0.8.4-SNAPSHOT") implementation(kotlin("stdlib-jdk8")) - shadowImpl("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4") { + shadowImpl("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3") { exclude(group = "org.jetbrains.kotlin") } // If you don't want to log in with your real minecraft account, remove this line modRuntimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.1.0") + @Suppress("VulnerableLibrariesLocal") implementation("com.github.hannibal002:notenoughupdates:4957f0b:all") + @Suppress("VulnerableLibrariesLocal") devenvMod("com.github.hannibal002:notenoughupdates:4957f0b:all") shadowModImpl("com.github.NotEnoughUpdates:MoulConfig:1.1.5") devenvMod("com.github.NotEnoughUpdates:MoulConfig:1.1.5:test") shadowImpl("moe.nea:libautoupdate:1.0.3") + shadowImpl("org.jetbrains.kotlin:kotlin-reflect:1.9.0") } kotlin { sourceSets.all { @@ -163,6 +166,7 @@ tasks.shadowJar { println("Config: ${it.files}") } } + exclude("META-INF/versions/**") relocate("io.github.moulberry.moulconfig", "at.hannibal2.skyhanni.deps.moulconfig") relocate("moe.nea.libautoupdate", "at.hannibal2.skyhanni.deps.libautoupdate") @@ -180,4 +184,4 @@ compileKotlin.kotlinOptions { val compileTestKotlin: KotlinCompile by tasks compileTestKotlin.kotlinOptions { jvmTarget = "1.8" -}
\ No newline at end of file +} |