LibJF/build.gradle

40 lines
1.2 KiB
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 {
2021-07-13 15:16:20 +02:00
maven { url = 'https://raw.githubusercontent.com/TerraformersMC/Archive/main/releases/'; 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}"
2021-06-08 17:28:39 +02:00
mappings "net.fabricmc:yarn:${project.minecraft_version}+${project.yarn_mappings}:v2"
2021-04-11 16:00:37 +02:00
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
include modImplementation(fabricApi.module("fabric-tag-extensions-v0", "0.37.0+1.17"))
modImplementation "com.terraformersmc:modmenu:2.0.2"
2021-04-11 16:00:37 +02:00
}
2021-07-18 10:36:51 +02:00
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
}
}
}