Added ModMenu as (optional) dependency
This commit is contained in:
11
build.gradle
11
build.gradle
@ -11,11 +11,10 @@ base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
// Add repositories to retrieve artifacts from in here.
|
maven {
|
||||||
// You should only use this when depending on other mods because
|
name = "Terraformers"
|
||||||
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
|
url = "https://maven.terraformersmc.com/"
|
||||||
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
|
}
|
||||||
// for more information about repositories.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
loom {
|
loom {
|
||||||
@ -44,7 +43,7 @@ dependencies {
|
|||||||
|
|
||||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||||
|
modImplementation("com.terraformersmc:modmenu:${project.modmenu_version}")
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
|
@ -14,4 +14,6 @@ maven_group=wtf.hak.survivalfabric
|
|||||||
archives_base_name=survivalfabric
|
archives_base_name=survivalfabric
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
fabric_version=0.119.5+1.21.5
|
fabric_version=0.119.5+1.21.5
|
||||||
|
|
||||||
|
modmenu_version=14.0.0-rc.2
|
@ -38,7 +38,10 @@
|
|||||||
"java": ">=21",
|
"java": ">=21",
|
||||||
"fabric-api": "*"
|
"fabric-api": "*"
|
||||||
},
|
},
|
||||||
"suggests": {
|
"optional": {
|
||||||
"another-mod": "*"
|
"modmenu": "*"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"modmenu:api": "wtf.hak.survivalfabric.modmenu.ModMenuIntegration"
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user