diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-12 17:02:08 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-12 17:02:08 +0100 |
commit | b774daef5bd961f955d365ce07bd5aa4acb161f4 (patch) | |
tree | 8e5f8f92593f8c594cc25592901342cc8923cee9 /build.gradle.kts | |
parent | 9763a4caa44fb6629aae92f3ad696487d962b0d9 (diff) | |
download | Firmament-b774daef5bd961f955d365ce07bd5aa4acb161f4.tar.gz Firmament-b774daef5bd961f955d365ce07bd5aa4acb161f4.tar.bz2 Firmament-b774daef5bd961f955d365ce07bd5aa4acb161f4.zip |
feat: MoulConfig config gui
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 6b25ee5..7887641 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -150,7 +150,10 @@ fun createIsolatedSourceSet(name: String, path: String = "compat/$name", isEnabl } compatSourceSets.add(ss) loom.createRemapConfigurations(ss) - if (!isEnabled) return ss + if (!isEnabled) { + ss.output.files.forEach { it.deleteRecursively() } + return ss + } configurations { (ss.implementationConfigurationName) { extendsFrom(getByName(mainSS.compileClasspathConfigurationName)) @@ -219,7 +222,8 @@ val yaclSourceSet = createIsolatedSourceSet("yacl") val explosiveEnhancementSourceSet = createIsolatedSourceSet("explosiveEnhancement", isEnabled = false) // TODO: wait for their port val wildfireGenderSourceSet = createIsolatedSourceSet("wildfireGender", isEnabled = false) // TODO: wait on their port val modmenuSourceSet = createIsolatedSourceSet("modmenu") -val reiSourceSet = createIsolatedSourceSet("rei") // TODO: read through https://hackmd.io/@shedaniel/rei17_primer +val reiSourceSet = createIsolatedSourceSet("rei") +val moulconfigSourceSet = createIsolatedSourceSet("moulconfig") dependencies { // Minecraft dependencies @@ -377,6 +381,7 @@ tasks.shadowJar { } tasks.remapJar { +// injectAccessWidener.set(true) inputFile.set(tasks.shadowJar.flatMap { it.archiveFile }) dependsOn(tasks.shadowJar) archiveClassifier.set("") |