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")
|
2022-04-02 22:01:29 +02:00
|
|
|
modRuntimeOnly("net.fabricmc.fabric-api:fabric-api:$project.fabric_version")
|
|
|
|
modImplementation('io.gitlab.jfronny:gson:2.9.0.2022.4.2.19.45.43')
|
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
|
|
|
}
|