oops.
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user