Skip to content

Commit

Permalink
Make it depend on FAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
Madis0 committed Dec 8, 2023
1 parent e131b93 commit 74dd3a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
10 changes: 2 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ dependencies {
modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") {
exclude(group: "net.fabricmc.fabric-api")
}

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))
}

sourceSets.remove(sourceSets.test)
Expand Down Expand Up @@ -158,7 +152,7 @@ curseforge {
addGameVersion 'Java 17'

relations {
embeddedLibrary 'fabric-api'
requiredDependency 'fabric-api'
optionalDependency 'modmenu'
optionalDependency 'cloth-config'
}
Expand Down Expand Up @@ -190,7 +184,7 @@ modrinth {

dependencies {
// The scope can be `required`, `optional`, or `incompatible`
embedded.project "fabric-api"
required.project "fabric-api"
optional.project "modmenu"
optional.project "cloth-config"
}
Expand Down
7 changes: 2 additions & 5 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@

"depends": {
"fabricloader": ">=0.14.6",
"fabric-networking-api-v1": "*",
"fabric-screen-api-v1": "*",
"fabric-rendering-v1": "*",
"fabric-resource-loader-v0": "*",
"minecraft": [ ">=1.20" ],
"fabric-api": "*",
"minecraft": [ ">=1.20.3" ],
"java": ">=17"
},
"suggests": {},
Expand Down

0 comments on commit 74dd3a2

Please sign in to comment.