Skip to content

Commit a028bb9

Browse files
committed
bundle cloth config, fabric api, and mod menu
1 parent 4eb0721 commit a028bb9

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ dependencies {
3030
implementation "net.fabricmc:fabric-loader:${project.loader_version}"
3131

3232
// Fabric API. This is technically optional, but you probably want it anyway.
33-
implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
34-
implementation "com.terraformersmc:modmenu:${project.modmenu_version}"
35-
implementation("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") {
33+
implementation include(fabricApi.module("fabric-api-base", project.fabric_api_version))
34+
implementation include(fabricApi.module("fabric-rendering-v1", project.fabric_api_version))
35+
36+
implementation include("com.terraformersmc:modmenu:${project.modmenu_version}")
37+
implementation include("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") {
3638
exclude(group: "net.fabricmc.fabric-api")
3739
}
3840
}

src/main/resources/fabric.mod.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@
2121
"betterhud.mixins.json"
2222
],
2323
"depends": {
24-
"fabricloader": ">=0.19.2",
24+
"fabricloader": ">=0.19",
2525
"minecraft": ">=26",
26-
"java": ">=25",
27-
"fabric-api": "*",
28-
"cloth-config2": "*",
29-
"modmenu": "*"
26+
"java": ">=25"
3027
}
3128
}

0 commit comments

Comments
 (0)