Skip to content

Commit

Permalink
Finally Fixed
Browse files Browse the repository at this point in the history
So we gotta exclude fabric api with cardinal components or our IDE just gives up
  • Loading branch information
CleverNucleus committed Aug 29, 2022
1 parent f3521e1 commit e152fdc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,21 @@ repositories {
dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"

modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation "maven.modrinth:data-attributes:${project.dataattributes_version}"
modImplementation "maven.modrinth:data-attributes:${project.dataattributes_version}"

modImplementation "maven.modrinth:offline-player-cache:${project.opc_version}"
include "maven.modrinth:offline-player-cache:${project.opc_version}"

modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cardinal_components_version}"
include "dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cardinal_components_version}"
modImplementation "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cardinal_components_version}"
include "dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cardinal_components_version}"

modImplementation include("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cardinal_components_version}") {
exclude(group: "net.fabricmc.fabric-api")
}
modImplementation include("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cardinal_components_version}") {
exclude(group: "net.fabricmc.fabric-api")
}

modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") {
exclude(group: "net.fabricmc.fabric-api")
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ opc_version=0.6.3
cardinal_components_version=5.0.2
placeholder_api=2.0.0-beta.7+1.19
cloth_config_version=8.0.75
modmenu_version=4.0.4
modmenu_version=4.0.4

0 comments on commit e152fdc

Please sign in to comment.