30 lines
953 B
Groovy
30 lines
953 B
Groovy
apply from: "https://jfmods.gitlab.io/scripts/jfmod.gradle"
|
|
|
|
allprojects {
|
|
if (project.name in rootProject.nonModSubprojects) return
|
|
|
|
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 {
|
|
modLocalRuntime("com.terraformersmc:modmenu:4.0.5")
|
|
modLocalRuntime(fabricApi.module("fabric-command-api-v2", "$project.fabric_version"))
|
|
compileOnly("io.gitlab.jfronny:commons:$rootProject.commons_version")
|
|
compileOnly("io.gitlab.jfronny:commons-gson:$rootProject.commons_version")
|
|
}
|
|
}
|