LibJF/build.gradle

50 lines
1.4 KiB
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
}
}
runConfigs.configureEach {
vmArgs "-Dfabric.debug.classPathIsolationBypassClasses=io/gitlab/jfronny/libjf"
}
}
2022-05-09 22:53:54 +02:00
2021-09-27 20:55:48 +02:00
dependencies {
2022-03-02 18:14:34 +01:00
modImplementation("com.terraformersmc:modmenu:3.1.0")
modRuntimeOnly("net.fabricmc.fabric-api:fabric-api:$project.fabric_version")
2022-04-29 15:48:27 +02:00
modImplementation("io.gitlab.jfronny:commons:$project.commons_version")
modImplementation("io.gitlab.jfronny:commons-gson:$project.commons_version")
2022-05-09 22:53:54 +02:00
modImplementation("io.gitlab.jfronny:commons-slf4j:$rootProject.commons_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
}