Skip to content

Commit

Permalink
fix modrinth project id
Browse files Browse the repository at this point in the history
  • Loading branch information
mezz committed Sep 6, 2024
1 parent 681139e commit 067ff1c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Fabric/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ val modId: String by extra
val modJavaVersion: String by extra
val parchmentMinecraftVersion: String by extra
val parchmentVersionFabric: String by extra
val modrinthId: String by extra

// set by ORG_GRADLE_PROJECT_modrinthToken in Jenkinsfile
val modrinthToken: String? by project
Expand Down Expand Up @@ -224,7 +225,7 @@ publishMods {
version.set(project.version.toString())

modrinth {
projectId = "jei"
projectId = modrinthId
accessToken = modrinthToken
minecraftVersionRange {
start = minecraftVersionRangeStart
Expand Down
3 changes: 2 additions & 1 deletion Forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ val modGroup: String by extra
val modId: String by extra
val modJavaVersion: String by extra
val parchmentVersionForge: String by extra
val modrinthId: String by extra

// set by ORG_GRADLE_PROJECT_modrinthToken in Jenkinsfile
val modrinthToken: String? by project
Expand Down Expand Up @@ -200,7 +201,7 @@ publishMods {
version.set(project.version.toString())

modrinth {
projectId = "jei"
projectId = modrinthId
accessToken = modrinthToken
minecraftVersionRange {
start = minecraftVersionRangeStart
Expand Down
3 changes: 2 additions & 1 deletion NeoForge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ val minecraftVersionRangeStart: String by extra
val modGroup: String by extra
val modId: String by extra
val modJavaVersion: String by extra
val modrinthId: String by extra

// set by ORG_GRADLE_PROJECT_modrinthToken in Jenkinsfile
val modrinthToken: String? by project
Expand Down Expand Up @@ -177,7 +178,7 @@ publishMods {
version.set(project.version.toString())

modrinth {
projectId = "jei"
projectId = modrinthId
accessToken = modrinthToken
minecraftVersionRange {
start = minecraftVersionRangeStart
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ parchmentVersionFabric=2024.07.28
# Publishing
curseProjectId=238222
curseHomepageUrl=https://www.curseforge.com/minecraft/mc-mods/jei
modrinthId=u6dRKJwZ

# Test
jUnitVersion=5.8.2
Expand Down

0 comments on commit 067ff1c

Please sign in to comment.