File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -112,11 +112,13 @@ java {
112112}
113113
114114publishMods {
115- displayName.set(" Debugify ${project.version} " )
116-
117- file.set(tasks.remapJar.get().archiveFile)
115+ displayName = modstitch.metadata.modVersion.map { " Debugify $it " }
116+ version = modstitch.metadata.modVersion
117+ file = tasks.remapJar.get().archiveFile
118+ type = STABLE
119+ modLoaders.add(" fabric" )
118120
119- changelog.set( modstitch.minecraftVersion.zip(modstitch.metadata.modVersion) { mcVersion, modVersion ->
121+ changelog = modstitch.minecraftVersion.zip(modstitch.metadata.modVersion) { mcVersion, modVersion ->
120122 val header = file(" changelogs/header.md" )
121123 .takeIf { it.exists() }
122124 ?.readText()
@@ -125,10 +127,7 @@ publishMods {
125127 .takeIf { it.exists() }
126128 ?.readText()
127129 ?.let { if (header != null ) " $header \n\n $it " else it }
128- })
129-
130- type.set(STABLE )
131- modLoaders.add(" fabric" )
130+ }
132131
133132 val modrinthId: String by project
134133 if (modrinthId.isNotBlank() && hasProperty(" modrinth.token" )) {
You can’t perform that action at this time.
0 commit comments