This commit is contained in:
adrianoy
2021-07-25 22:21:02 -03:00
parent 1fe4d53565
commit e09f903332
-10
View File
@@ -188,9 +188,7 @@ afterEvaluate {
sourceSets { sourceSets {
testmod { testmod {
compileClasspath += main.output
compileClasspath += main.compileClasspath compileClasspath += main.compileClasspath
runtimeClasspath += main.output
runtimeClasspath += main.runtimeClasspath runtimeClasspath += main.runtimeClasspath
} }
test { test {
@@ -241,13 +239,5 @@ publishing {
} }
} }
} }
//todo: remove before pr'ing
import net.fabricmc.loom.task.RunClientTask
task runTestMod(type: RunClientTask) {
classpath = configurations.runtimeClasspath
classpath sourceSets.main.output
classpath sourceSets.testmod.output
}
tasks.publish.dependsOn build //stupid fix for maven/loom not publishing the main artifact tasks.publish.dependsOn build //stupid fix for maven/loom not publishing the main artifact