32 lines
1.0 KiB
Groovy
32 lines
1.0 KiB
Groovy
apply from: "https://gitlab.com/-/snippets/2121059/raw/master/jfbase.gradle"
|
|
|
|
repositories {
|
|
maven {
|
|
name = 'TerraformersMC'
|
|
url = 'https://maven.terraformersmc.com/'
|
|
}
|
|
maven {
|
|
url "https://gitlab.com/api/v4/projects/25805200/packages/maven"
|
|
}
|
|
mavenCentral()
|
|
}
|
|
|
|
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}"
|
|
|
|
include modImplementation("io.gitlab.jfronny.libjf:libjf-config-v0:${project.jfapi_version}")
|
|
include("io.gitlab.jfronny.libjf:libjf-unsafe-v0:${project.jfapi_version}")
|
|
include("io.gitlab.jfronny.libjf:libjf-base:${project.jfapi_version}")
|
|
|
|
modImplementation "com.terraformersmc:modmenu:2.0.3"
|
|
|
|
testImplementation('org.junit.jupiter:junit-jupiter:5.8.1')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|