LibJF/build.gradle

42 lines
1019 B
Groovy
Raw Normal View History

2021-11-29 20:36:43 +01:00
apply from: "https://jfmods.gitlab.io/scripts/jfmod.gradle"
2021-04-11 20:23:52 +02:00
2021-09-27 20:55:48 +02:00
allprojects {
sourceSets {
testmod {
compileClasspath += main.compileClasspath
runtimeClasspath += main.runtimeClasspath
}
}
loom {
runs {
testmodClient {
client()
ideConfigGenerated project.rootProject == project
name = "Testmod Client"
source sourceSets.testmod
}
testmodServer {
server()
ideConfigGenerated project.rootProject == project
name = "Testmod Server"
source sourceSets.testmod
}
}
}
dependencies {
2021-10-09 12:51:40 +02:00
modRuntimeOnly modCompileOnly("com.terraformersmc:modmenu:2.0.14")
2021-11-19 15:23:07 +01:00
modRuntimeOnly("net.fabricmc.fabric-api:fabric-api:${project.fabric_version}")
2021-09-27 20:55:48 +02:00
}
2021-04-11 20:23:52 +02:00
}
2021-09-27 20:55:48 +02:00
subprojects {
dependencies {
testmodImplementation sourceSets.main.output
}
2021-04-11 16:00:37 +02:00
}
2021-09-28 20:21:29 +02:00
sourceSets {
testmod
2021-09-27 20:55:48 +02:00
}