Skip to content

Commit

Permalink
Fix transitive dependencies related issues in pom
Browse files Browse the repository at this point in the history
  • Loading branch information
thecatcore committed Apr 24, 2024
1 parent df0630a commit 483db46
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,11 @@ def moduleDependencies(Project project, List<String> projectNames) {
depNode.appendNode("artifactId", getProjectMavenName(it))
depNode.appendNode("version", it.version)
depNode.appendNode("scope", "compile")

def exclusionsNode = depNode.appendNode("exclusions")
def exclusionNode = exclusionsNode.appendNode("exclusion")
exclusionNode.appendNode("groupId", "net.legacyfabric.legacy-fabric-api")
exclusionNode.appendNode("artifactId", "*")
}
}
}
Expand Down

0 comments on commit 483db46

Please sign in to comment.