LibJF/build.gradle

42 lines
1006 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 {
2022-03-02 18:14:34 +01:00
modImplementation("com.terraformersmc:modmenu:3.1.0")
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
}