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 {
|
2022-08-21 22:34:55 +02:00
|
|
|
if (project.name in rootProject.nonModSubprojects) return
|
|
|
|
|
2021-09-27 20:55:48 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|
2022-05-12 18:50:14 +02:00
|
|
|
}
|
2022-05-09 22:53:54 +02:00
|
|
|
|
2021-09-27 20:55:48 +02:00
|
|
|
dependencies {
|
2022-08-21 16:09:41 +02:00
|
|
|
testmodRuntimeOnly("com.terraformersmc:modmenu:4.0.5")
|
|
|
|
testmodRuntimeOnly("net.fabricmc.fabric-api:fabric-api:$project.fabric_version")
|
2022-08-21 22:34:55 +02:00
|
|
|
compileOnly("io.gitlab.jfronny:commons:$rootProject.commons_version")
|
|
|
|
compileOnly("io.gitlab.jfronny:commons-gson:$rootProject.commons_version")
|
2021-09-27 20:55:48 +02:00
|
|
|
}
|
2021-04-11 20:23:52 +02:00
|
|
|
}
|