From 3ff24b89eb9389a518fe63c822b44e410147b398 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Thu, 8 Apr 2021 12:57:08 +0200 Subject: [PATCH] Configure the shadow plugin AFTER applying it. --- build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index da52a91..90b4ee1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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")}")