Skip to content

Commit f7c5481

Browse files
committed
one more maven tweak
1 parent ed7f20b commit f7c5481

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

build.gradle

+2-5
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ plugins {
99
id "me.modmuss50.mod-publish-plugin" version "0.4.5"
1010
}
1111

12-
version = "${mod_version}+mc${minecraft_version}"
13-
group = mod_group_id
14-
1512
ext.releaseTag = providers.environmentVariable("TAG").orElse("").toString()
1613
ext.isAlpha = ext.releaseTag.contains("alpha")
1714
ext.isBeta = ext.releaseTag.contains("beta")
@@ -149,7 +146,7 @@ publishing {
149146
register('mavenJava', MavenPublication) {
150147
artifactId = archive_base_name
151148
groupId = mod_group_id
152-
version = mod_version
149+
version = "${mod_version}+mc${minecraft_version}"
153150
from components.java
154151
}
155152
}
@@ -201,7 +198,7 @@ publishMods {
201198
// slug = "patchouli"
202199
// }
203200
}
204-
201+
"${mod_version}+mc${minecraft_version}"
205202
modrinth {
206203
projectId = modrinth_project_id
207204
accessToken = providers.environmentVariable("MODRINTH_TOKEN")

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mod_id=modularrouters
88
archive_base_name=modular-routers
99
mod_version=12.3.0
1010
mod_name="Modular Routers"
11-
mod_group_id=me.desht
11+
mod_group_id=me.desht.modularrouters
1212
mod_license=MIT
1313
mod_authors=Des Herriott
1414
mod_description=Modular Routers is a highly flexible mod for moving items/fluids/energy around the world in various ways.

0 commit comments

Comments
 (0)