32 lines
1.3 KiB
Groovy
32 lines
1.3 KiB
Groovy
apply from: "https://gitlab.com/-/snippets/2121059/raw/master/jfbase.gradle"
|
|
|
|
repositories {
|
|
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" }
|
|
maven { url = 'https://server.bbkr.space/artifactory/libs-release'; name = "Required for canvas" }
|
|
maven { url = "https://minecraft.curseforge.com/api/maven"; name = "CurseForge (for canvas)" }
|
|
}
|
|
|
|
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}"
|
|
|
|
// Fabric API. This is technically optional, but you probably want it anyway.
|
|
modImplementation "net.fabricmc.fabric-api:fabric-api:0.34.9+1.17"
|
|
|
|
modImplementation "com.terraformersmc:modmenu:2.0.0-beta.7"
|
|
|
|
modApi("me.shedaniel.cloth:cloth-config-fabric:5.0.34")
|
|
modImplementation("grondag:canvas-mc117-1.17:+") {
|
|
exclude(group: "me.shedaniel.cloth")
|
|
}
|
|
|
|
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |