LibJF/build.gradle

30 lines
924 B
Groovy
Raw Normal View History

2021-05-15 19:01:08 +02:00
apply from: "https://gitlab.com/-/snippets/2121059/raw/master/jfbase.gradle"
2021-04-11 16:00:37 +02:00
repositories {
maven { url = 'https://maven.terraformersmc.com/'; name = "ModMenu" }
2021-04-11 20:23:52 +02:00
}
sourceSets {
testmod {
compileClasspath += main.compileClasspath + main.output
runtimeClasspath += main.runtimeClasspath + main.output
}
}
2021-04-11 16:00:37 +02:00
dependencies {
//to change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "com.terraformersmc:modmenu:1.16.9"
}
2021-05-15 19:01:08 +02:00
task runTestmodClient(type: TestmodTask, constructorArgs: ["client"]) {
classpath sourceSets.testmod.runtimeClasspath
}
2021-05-15 19:01:08 +02:00
task runTestmodServer(type: TestmodTask, constructorArgs: ["server"]) {
classpath sourceSets.testmod.runtimeClasspath
}