LibJF/build.gradle
2021-06-08 17:28:39 +02:00

30 lines
959 B
Groovy

apply from: "https://gitlab.com/-/snippets/2121059/raw/master/jfbase.gradle"
repositories {
maven { url = 'https://maven.terraformersmc.com/'; name = "ModMenu" }
}
sourceSets {
testmod {
compileClasspath += main.compileClasspath + main.output
runtimeClasspath += main.runtimeClasspath + main.output
}
}
dependencies {
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.minecraft_version}+${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "com.terraformersmc:modmenu:2.0.0-beta.5"
}
task runTestmodClient(type: TestmodTask, constructorArgs: ["client"]) {
classpath sourceSets.testmod.runtimeClasspath
}
task runTestmodServer(type: TestmodTask, constructorArgs: ["server"]) {
classpath sourceSets.testmod.runtimeClasspath
}