summaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorAizistral2022-08-14 16:46:10 +0200
committerGitHub2022-08-14 16:46:10 +0200
commitc8f9ddeb286e829da60f002a8115043f0003a1be (patch)
treedbeb313079d59cbfc8d0762b04f0f5f54a2878ce /build.gradle
parent5ba2d3542d04c70552346c8698e242363341b262 (diff)
parenta57bda7fedd28900066e3c383cc4c9f0f1f069a8 (diff)
Merge pull request #135 from LoganDark/fabric-api
You don't need the entire Fabric API
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle9
1 files changed, 7 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index 8b4103f..3a1011b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -24,7 +24,12 @@ dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings loom.officialMojangMappings()
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
- modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
+
+ include(fabricApi.module("fabric-api-base", project.fabric_version))
+ modImplementation include(fabricApi.module("fabric-networking-api-v1", project.fabric_version))
+ modImplementation include(fabricApi.module("fabric-screen-api-v1", project.fabric_version))
+ modImplementation include(fabricApi.module("fabric-rendering-v1", project.fabric_version))
+ modImplementation include(fabricApi.module("fabric-resource-loader-v0", project.fabric_version))
}
processResources {
@@ -129,4 +134,4 @@ afterEvaluate {
task upload {
dependsOn('modrinth')
dependsOn('curseforge')
-} \ No newline at end of file
+}