aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle13
1 files changed, 10 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 475c32c..f94acd4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,6 +7,9 @@ version = project.mod_version
group = project.maven_group
repositories {
+ maven { url 'https://maven.terraformersmc.com/releases' }
+ maven { url "https://maven.shedaniel.me/" }
+
// Add repositories to retrieve artifacts from in here.
// You should only use this when depending on other mods because
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
@@ -19,10 +22,14 @@ dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${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 'com.terraformersmc:modmenu:7.2.2'
+ //https://maven.terraformersmc.com/releases/com/terraformersmc/modmenu/7.2.2/modmenu-7.2.2.pom
+ // Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
+ modApi("me.shedaniel.cloth:cloth-config-fabric:11.1.106") {
+ exclude(group: "net.fabricmc.fabric-api")
}
+}
processResources {
inputs.property "version", project.version
@@ -63,7 +70,7 @@ java {
jar {
from("LICENSE") {
- rename { "${it}_${project.archivesBaseName}"}
+ rename { "${it}_${project.archivesBaseName}" }
}
manifest {
attributes 'Fabric-MixinConfigs': 'modid.mixin.json',