Skip to content

Commit

Permalink
Drop Modrinth and Quiltflower
Browse files Browse the repository at this point in the history
TODO: Switch away from UnifiedPublishing as this is now mostly redundant
  • Loading branch information
62832 committed Apr 27, 2023
1 parent 52ed213 commit 09d13a4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,4 @@ jobs:
MEGA_VERSION: ${{ github.event.release.tag_name }}
CHANGELOG: ${{ github.event.release.body }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_API_KEY }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_API_KEY }}
run: ./gradlew :fabric:publishUnified :forge:publishUnified --max-workers 1
14 changes: 0 additions & 14 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ plugins {
`maven-publish`
id("architectury-plugin") version "3.4-SNAPSHOT" apply false
id("dev.architectury.loom") version "1.0-SNAPSHOT" apply false
id("io.github.juuxel.loom-quiltflower") version "1.7.1" apply false
id("com.github.johnrengelman.shadow") version "7.1.2" apply false
id("me.shedaniel.unified-publishing") version "0.1.+" apply false
id("com.diffplug.spotless") version "6.4.1" apply false
Expand Down Expand Up @@ -54,7 +53,6 @@ subprojects {
apply(plugin = "maven-publish")
apply(plugin = "architectury-plugin")
apply(plugin = "dev.architectury.loom")
apply(plugin = "io.github.juuxel.loom-quiltflower")
apply(plugin = "com.diffplug.spotless")

base.archivesName.set("$modId-${project.name}")
Expand Down Expand Up @@ -287,43 +285,31 @@ for (platform in platforms) {
relations {
depends {
curseforge.set("applied-energistics-2")
modrinth.set("ae2")
}

optional {
curseforge.set("applied-energistics-2-wireless-terminals")
modrinth.set("applied-energistics-2-wireless-terminals")
}

optional {
curseforge.set("applied-botanics-addon")
modrinth.set("applied-botanics")
}

if (platform == "forge") {
optional {
curseforge.set("applied-mekanistics")
modrinth.set("applied-mekanistics")
}
}
}

val cfToken = System.getenv("CURSEFORGE_TOKEN")
val mrToken = System.getenv("MODRINTH_TOKEN")

if (cfToken != null) {
curseforge {
token.set(cfToken)
id.set("622112")
}
}

if (mrToken != null) {
modrinth {
token.set(mrToken)
id.set("7QZJE3uU")
}
}
}
}
}
Expand Down

0 comments on commit 09d13a4

Please sign in to comment.