LibJF/build.gradle

44 lines
1.3 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-08-21 19:35:20 +02:00
maven {
name = 'TerraformersMC'
url = 'https://maven.terraformersmc.com/'
}
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.40.1+1.17"))
include modImplementation(fabricApi.module("fabric-resource-loader-v0", "0.40.1+1.17"))
modImplementation "com.terraformersmc:modmenu:2.0.10"
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
}
}
}