29 lines
975 B
Groovy
29 lines
975 B
Groovy
apply from: "https://jfmods.gitlab.io/scripts/jfmod.gradle"
|
|
|
|
allprojects {
|
|
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 {
|
|
modImplementation("com.terraformersmc:modmenu:4.0.0-beta.4")
|
|
modRuntimeOnly("net.fabricmc.fabric-api:fabric-api:$project.fabric_version")
|
|
implementation("io.gitlab.jfronny:commons:$project.commons_version")
|
|
implementation("io.gitlab.jfronny:commons-gson:$project.commons_version")
|
|
implementation("io.gitlab.jfronny:commons-slf4j:$rootProject.commons_version")
|
|
}
|
|
}
|