Skip to content

Commit

Permalink
update publish plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Sep 20, 2024
1 parent 9aa3da1 commit 6e9116c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ plugins {
`maven-publish`
id("architectury-plugin") version "3.4-SNAPSHOT" apply false
id("dev.architectury.loom") version "1.6.+" apply false
id("me.modmuss50.mod-publish-plugin") version "0.3.4" apply false // https://github.com/modmuss50/mod-publish-plugin
id("me.modmuss50.mod-publish-plugin") version "0.7.4" apply false // https://github.com/modmuss50/mod-publish-plugin
id("com.github.johnrengelman.shadow") version "8.1.1" apply false
id("dev.ithundxr.silk") version "0.11.15" // https://github.com/IThundxr/silk
}
Expand Down
10 changes: 4 additions & 6 deletions fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -115,19 +115,17 @@ publishMods {
accessToken = System.getenv("CURSEFORGE_TOKEN")
minecraftVersions.add("minecraft_version"())

requires {
slug = "create-fabric"
}
requires("fabric-api")
requires("create-fabric")
}

modrinth {
projectId = "modrinth_id"()
accessToken = System.getenv("MODRINTH_TOKEN")
minecraftVersions.add("minecraft_version"())

requires {
slug = "create-fabric"
}
requires("fabric-api")
requires("create-fabric")
}
}

Expand Down
8 changes: 2 additions & 6 deletions forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,15 @@ publishMods {
accessToken = System.getenv("CURSEFORGE_TOKEN")
minecraftVersions.add("minecraft_version"())

requires {
slug = "create"
}
requires("create")
}

modrinth {
projectId = "modrinth_id"()
accessToken = System.getenv("MODRINTH_TOKEN")
minecraftVersions.add("minecraft_version"())

requires {
slug = "create"
}
requires("create")
}
}

Expand Down

0 comments on commit 6e9116c

Please sign in to comment.