2021-05-19 17:48:59 +02:00
|
|
|
apply from: "https://gitlab.com/-/snippets/2121059/raw/master/jfbase.gradle"
|
2020-11-24 22:04:13 +01:00
|
|
|
|
|
|
|
repositories {
|
2021-05-19 17:48:59 +02:00
|
|
|
maven { url = "https://maven.terraformersmc.com/"; name = "ModMenu" }
|
|
|
|
maven { url = "https://maven.shedaniel.me/"; name = "Cloth Config" }
|
|
|
|
maven { url = "https://maven.dblsaiko.net/"; name = "Canvas" }
|
2021-06-10 13:10:12 +02:00
|
|
|
maven { url = 'https://server.bbkr.space/artifactory/libs-release'; name = "Required for canvas" }
|
2021-05-19 17:48:59 +02:00
|
|
|
maven { url = "https://minecraft.curseforge.com/api/maven"; name = "CurseForge (for canvas)" }
|
2020-11-24 22:04:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
//to change the versions see the gradle.properties file
|
|
|
|
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
2021-06-08 19:46:44 +02:00
|
|
|
mappings "net.fabricmc:yarn:${project.minecraft_version}+${project.yarn_mappings}:v2"
|
2020-11-24 22:04:13 +01:00
|
|
|
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
|
|
|
|
|
|
|
// Fabric API. This is technically optional, but you probably want it anyway.
|
2021-06-08 19:46:44 +02:00
|
|
|
modImplementation "net.fabricmc.fabric-api:fabric-api:0.34.9+1.17"
|
2020-11-24 22:04:13 +01:00
|
|
|
|
2021-06-08 19:46:44 +02:00
|
|
|
modImplementation "com.terraformersmc:modmenu:2.0.0-beta.7"
|
2020-12-21 14:51:49 +01:00
|
|
|
|
2021-06-10 13:10:12 +02:00
|
|
|
modApi("me.shedaniel.cloth:cloth-config-fabric:5.0.34")
|
2021-05-29 22:48:51 +02:00
|
|
|
modImplementation("grondag:canvas-mc117-1.17:+") {
|
2021-04-05 21:33:16 +02:00
|
|
|
exclude(group: "me.shedaniel.cloth")
|
2021-02-15 11:44:59 +01:00
|
|
|
}
|
2021-06-10 18:28:47 +02:00
|
|
|
|
|
|
|
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
2021-05-19 17:48:59 +02:00
|
|
|
}
|