diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 2fbbd99..a6ee08c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,6 +59,7 @@ loom { log4jConfigs.from(file("log4j2.xml")) launchConfigs { "client" { + property("ledger.bonusresourcemod", sourceSets.main.get().output.resourcesDir!!.absolutePath) property("mixin.debug", "true") arg("--tweakClass", "org.spongepowered.asm.launch.MixinTweaker") arg("--tweakClass", "io.github.notenoughupdates.moulconfig.tweaker.DevelopmentResourceTweaker") @@ -82,16 +83,6 @@ loom { } } -tasks.compileJava { - dependsOn(tasks.processResources) -} - -sourceSets.main { - output.setResourcesDir(sourceSets.main.flatMap { it.java.classesDirectory }) - java.srcDir(layout.projectDirectory.dir("src/main/kotlin")) - kotlin.destinationDirectory.set(java.destinationDirectory) -} - allprojects { repositories { mavenCentral() @@ -229,7 +220,6 @@ val remapJar by tasks.named<net.fabricmc.loom.task.RemapJarTask>("remapJar") { tasks.jar { archiveClassifier.set("without-deps") - dependsOn(tasks.processResources) // Why is this needed? destinationDirectory.set(layout.buildDirectory.dir("badjars")) } |