From 4308a09f8929da42cab420d7254c0981d74bd651 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 26 Oct 2024 17:26:37 +0200 Subject: Move explosive enhancment into isolation [no changelog] --- build.gradle.kts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index 20b077c..cca7fda 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -154,10 +154,6 @@ val SourceSet.modImplementationConfigurationName loom.remapConfigurations.find { it.targetConfigurationName.get() == this.implementationConfigurationName }!!.sourceConfiguration -val configuredSourceSet = createIsolatedSourceSet("configured") -val sodiumSourceSet = createIsolatedSourceSet("sodium") -val citResewnSourceSet = createIsolatedSourceSet("citresewn") -val yaclSourceSet = createIsolatedSourceSet("yacl") val shadowMe by configurations.creating { exclude(group = "org.jetbrains.kotlin") @@ -182,6 +178,12 @@ val nonModImplentation by configurations.creating { } +val configuredSourceSet = createIsolatedSourceSet("configured") +val sodiumSourceSet = createIsolatedSourceSet("sodium") +val citResewnSourceSet = createIsolatedSourceSet("citresewn") +val yaclSourceSet = createIsolatedSourceSet("yacl") +val explosiveEnhancementSourceSet = createIsolatedSourceSet("explosiveEnhancement") + dependencies { // Minecraft dependencies "minecraft"(libs.minecraft) @@ -196,7 +198,7 @@ dependencies { modImplementation(libs.modmenu) modImplementation(libs.moulconfig) modImplementation(libs.manninghamMills) - modCompileOnly(libs.explosiveenhancement) + (explosiveEnhancementSourceSet.modImplementationConfigurationName)(libs.explosiveenhancement) modImplementation(libs.hypixelmodapi) include(libs.hypixelmodapi.fabric) compileOnly(project(":javaplugin")) -- cgit