Skip to content

Commit

Permalink
fix config name
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Dec 21, 2023
1 parent a9b5086 commit c890f18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ repositories {
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots/")
}

val shadow by configurations.creating {
val shadowImpl by configurations.creating {
configurations.implementation.get().extendsFrom(this)
}

@Suppress("VulnerableLibrariesLocal")
dependencies {
implementation("org.bukkit:bukkit:1.12.2-R0.1-SNAPSHOT")
shadow("org.ow2.asm:asm:9.5")
shadow("org.ow2.asm:asm-tree:9.5")
shadowImpl("org.ow2.asm:asm:9.5")
shadowImpl("org.ow2.asm:asm-tree:9.5")
}

tasks.compileJava {
Expand All @@ -54,7 +54,7 @@ tasks.jar {
}

tasks.shadowJar {
configurations = listOf(shadow)
configurations = listOf(shadowImpl)
relocate("org.objectweb", "xyz.wagyourtail.unimined.cpl.shadow.org.objectweb")
}

Expand Down

0 comments on commit c890f18

Please sign in to comment.