diff options
author | Linnea Gräf <nea@nea.moe> | 2024-10-26 17:26:37 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-10-26 17:26:42 +0200 |
commit | 4308a09f8929da42cab420d7254c0981d74bd651 (patch) | |
tree | 28b1c7fa2a284839280190657d904bcb3466ba45 /build.gradle.kts | |
parent | 52baaf65bf9731988ad3a2487d2dfa43b1bdb63e (diff) | |
download | firmament-4308a09f8929da42cab420d7254c0981d74bd651.tar.gz firmament-4308a09f8929da42cab420d7254c0981d74bd651.tar.bz2 firmament-4308a09f8929da42cab420d7254c0981d74bd651.zip |
Move explosive enhancment into isolation
[no changelog]
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 12 |
1 files changed, 7 insertions, 5 deletions
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")) |