Skip to content

Commit

Permalink
Mod Publish Plugin 0.6.3
Browse files Browse the repository at this point in the history
Now allows using version ranges even for a single version.
Ref: modmuss50/mod-publish-plugin#51
  • Loading branch information
LostLuma committed Jul 30, 2024
1 parent f22e672 commit 8ca36ab
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ mixinextras = "0.3.5"
architectury = "3.4.155"
architectury_loom = "1.7.410"

mod_publish = "0.6.2"
mod_publish = "0.6.3"

[libraries]
minecraft = { module = "com.mojang:minecraft", version.ref = "minecraft" }
Expand Down
6 changes: 0 additions & 6 deletions platforms/fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,10 @@ publishMods {
accessToken = providers.environmentVariable("CURSEFORGE_SECRET")
projectId = "335493"

/*
minecraftVersionRange {
start = project.property("minecraft_version_min").toString()
end = project.property("minecraft_version_max").toString()
}
*/
minecraftVersions.add(project.property("minecraft_version_min").toString())

clientRequired = true
serverRequired = false
Expand All @@ -106,13 +103,10 @@ publishMods {
accessToken = providers.environmentVariable("MODRINTH_SECRET")
projectId = "LQ3K71Q1"

/*
minecraftVersionRange {
start = project.property("minecraft_version_min").toString()
end = project.property("minecraft_version_max").toString()
}
*/
minecraftVersions.add(project.property("minecraft_version_min").toString())

requires("fabric-api")
optional("cloth-config", "modmenu")
Expand Down
6 changes: 0 additions & 6 deletions platforms/forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,10 @@ publishMods {
accessToken = providers.environmentVariable("CURSEFORGE_SECRET")
projectId = "335493"

/*
minecraftVersionRange {
start = project.property("minecraft_version_min").toString()
end = project.property("minecraft_version_max").toString()
}
*/
minecraftVersions.add(project.property("minecraft_version_min").toString())

clientRequired = true
serverRequired = false
Expand All @@ -104,13 +101,10 @@ publishMods {
accessToken = providers.environmentVariable("MODRINTH_SECRET")
projectId = "LQ3K71Q1"

/*
minecraftVersionRange {
start = project.property("minecraft_version_min").toString()
end = project.property("minecraft_version_max").toString()
}
*/
minecraftVersions.add(project.property("minecraft_version_min").toString())

optional("cloth-config")
}
Expand Down
6 changes: 0 additions & 6 deletions platforms/neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,10 @@ publishMods {
accessToken = providers.environmentVariable("CURSEFORGE_SECRET")
projectId = "335493"

/*
minecraftVersionRange {
start = project.property("minecraft_version_min").toString()
end = project.property("minecraft_version_max").toString()
}
*/
minecraftVersions.add(project.property("minecraft_version_min").toString())

clientRequired = true
serverRequired = false
Expand All @@ -109,13 +106,10 @@ publishMods {
accessToken = providers.environmentVariable("MODRINTH_SECRET")
projectId = "LQ3K71Q1"

/*
minecraftVersionRange {
start = project.property("minecraft_version_min").toString()
end = project.property("minecraft_version_max").toString()
}
*/
minecraftVersions.add(project.property("minecraft_version_min").toString())

optional("cloth-config")
}
Expand Down
6 changes: 0 additions & 6 deletions platforms/quilt/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,10 @@ publishMods {
accessToken = providers.environmentVariable("CURSEFORGE_SECRET")
projectId = "335493"

/*
minecraftVersionRange {
start = project.property("minecraft_version_min").toString()
end = project.property("minecraft_version_max").toString()
}
*/
minecraftVersions.add(project.property("minecraft_version_min").toString())

clientRequired = true
serverRequired = false
Expand All @@ -107,13 +104,10 @@ publishMods {
accessToken = providers.environmentVariable("MODRINTH_SECRET")
projectId = "LQ3K71Q1"

/*
minecraftVersionRange {
start = project.property("minecraft_version_min").toString()
end = project.property("minecraft_version_max").toString()
}
*/
minecraftVersions.add(project.property("minecraft_version_min").toString())

requires("qsl")
optional("cloth-config", "modmenu")
Expand Down

0 comments on commit 8ca36ab

Please sign in to comment.