Configure the shadow plugin AFTER applying it.

This commit is contained in:
Username404-59 2021-04-08 12:57:08 +02:00
parent 3439da3e6b
commit 3ff24b89eb
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 2 additions and 2 deletions

View File

@ -15,11 +15,11 @@ architectury {
}
subprojects {
val shadowC by configurations.creating
tasks.withType(ShadowJar::class) { this.configurations = listOf(shadowC) }
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "forgified-fabric-loom")
apply(plugin = "com.github.johnrengelman.shadow")
val shadowC by configurations.creating
tasks.withType(ShadowJar::class) { this.configurations = listOf(shadowC) }
dependencies {
shadowC(kotlin("stdlib-jdk8"))
"minecraft"("com.mojang:minecraft:${rootProject.property("minecraft")}")