1
0
mirror of https://github.com/Suiranoil/SkinRestorer.git synced 2026-01-16 04:42:12 +00:00

decouple publish task from jar tasks

This commit is contained in:
2025-06-01 18:46:32 +03:00
parent 81d05fe991
commit 7e05f1eec9

View File

@@ -3,12 +3,7 @@ plugins {
}
publishMods {
if (project.name == 'fabric')
file = remapJar.archiveFile
else if (project.name == 'neoforge')
file = jar.archiveFile
else
file = tasks.named('jarJar').get().archiveFile
file = project.layout.buildDirectory.file("libs/${project.archivesBaseName}-${project.version}.jar").map { it.asFile }.getOrNull()
modLoaders.add(project.name)
type = STABLE