Configure the shadow plugin AFTER applying it.
This commit is contained in:
parent
3439da3e6b
commit
3ff24b89eb
|
@ -15,11 +15,11 @@ architectury {
|
||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
val shadowC by configurations.creating
|
|
||||||
tasks.withType(ShadowJar::class) { this.configurations = listOf(shadowC) }
|
|
||||||
apply(plugin = "org.jetbrains.kotlin.jvm")
|
apply(plugin = "org.jetbrains.kotlin.jvm")
|
||||||
apply(plugin = "forgified-fabric-loom")
|
apply(plugin = "forgified-fabric-loom")
|
||||||
apply(plugin = "com.github.johnrengelman.shadow")
|
apply(plugin = "com.github.johnrengelman.shadow")
|
||||||
|
val shadowC by configurations.creating
|
||||||
|
tasks.withType(ShadowJar::class) { this.configurations = listOf(shadowC) }
|
||||||
dependencies {
|
dependencies {
|
||||||
shadowC(kotlin("stdlib-jdk8"))
|
shadowC(kotlin("stdlib-jdk8"))
|
||||||
"minecraft"("com.mojang:minecraft:${rootProject.property("minecraft")}")
|
"minecraft"("com.mojang:minecraft:${rootProject.property("minecraft")}")
|
||||||
|
|
Loading…
Reference in New Issue