29 lines
953 B
Groovy
29 lines
953 B
Groovy
apply from: "https://gitlab.com/-/snippets/2121059/raw/master/jfbase.gradle"
|
|
|
|
repositories {
|
|
maven {
|
|
name = 'TerraformersMC'
|
|
url = 'https://maven.terraformersmc.com/'
|
|
}
|
|
}
|
|
|
|
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:${project.fabric_version}"
|
|
|
|
download("https://gitlab.com/jfmods/LibJF/-/jobs/artifacts/master/raw/latest-dev.jar?job=build_test", "libjf")
|
|
|
|
modImplementation "com.terraformersmc:modmenu:2.0.0-beta.7"
|
|
|
|
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|