Skip to content

Commit

Permalink
Remove Curse Maven dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Dec 24, 2021
1 parent a0da8c7 commit 8ee3101
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
10 changes: 3 additions & 7 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ repositories {
name = 'Ladysnake Mods'
url = 'https://ladysnake.jfrog.io/artifactory/mods'
}
maven {
name = "Curse Maven"
url = "https://cursemaven.com"
}
maven {
url = "https://maven.shedaniel.me/"
}
Expand All @@ -39,7 +35,7 @@ dependencies {
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
modApi "net.fabricmc.fabric-api:fabric-api:${rootProject.fabric_api_version}"
modApi "me.shedaniel:architectury-fabric:${rootProject.architectury_version}"
modApi ("curse.maven:cloth-config-319057:${rootProject.cloth_config_version}") {
modRuntimeOnly ("me.shedaniel.cloth:cloth-config:4.13.49") {
exclude(group: "net.fabricmc.fabric-api")
}
runtimeOnly("me.shedaniel.cloth:basic-math:0.6.0")
Expand All @@ -64,7 +60,7 @@ dependencies {
transitive = false
}
modImplementation "dev.emi:trinkets:2.6.7"
modRuntimeOnly("curse.maven:modmenu-308702:3479748") {
modRuntimeOnly("com.terraformersmc:modmenu:1.16.22") {
transitive = false
}
}
Expand Down Expand Up @@ -223,7 +219,7 @@ publishing {
def configurationNames = ["modImplementation", "modApi"]
configurationNames.each { configurationName ->
configurations[configurationName].allDependencies.each {
if (!(it.name in ["imdlib", "architectury-transformer", "common", "basic-math"]) && !(it.group in ["curse.maven"])) {
if (!(it.name in ["imdlib", "architectury-transformer", "common", "basic-math", "modmenu", "cloth-config"]) && !(it.group in ["curse.maven"])) {
def dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', it.group)
dependencyNode.appendNode('artifactId', it.name)
Expand Down
4 changes: 1 addition & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,4 @@
# Misc
org.gradle.jvmargs = -Xmx4G
org.gradle.daemon = true
cardinal_components_version = 2.8.3
# 4.13.49
cloth_config_version=3559633
cardinal_components_version = 2.8.3

0 comments on commit 8ee3101

Please sign in to comment.