This commit is contained in:
cyberpwn 2022-01-10 19:55:51 -05:00
parent 5333d23ad8
commit 90b8747775

View File

@ -300,11 +300,11 @@ def registerCustomOutputTask(name, path) {
tasks.register('build' + name, Copy) { tasks.register('build' + name, Copy) {
group('development') group('development')
outputs.upToDateWhen { false } outputs.upToDateWhen { false }
dependsOn ':shadowJar' dependsOn(iris)
from(new File(buildDir, "specialsource/Iris-" + version + "-rmo.jar")) from(new File(buildDir, "Iris-" + version + ".jar"))
into(file(path)) into(file(path))
rename { String fileName -> rename { String fileName ->
fileName.replace(new File(buildDir, "specialsource/Iris-" + version + "-rmo.jar").getName(), "Iris.jar") fileName.replace("Iris-" + version + ".jar", "Iris.jar")
} }
} }
} }
@ -319,10 +319,10 @@ def registerCustomOutputTaskUnix(name, path) {
group('development') group('development')
outputs.upToDateWhen { false } outputs.upToDateWhen { false }
dependsOn(iris) dependsOn(iris)
from(new File(buildDir, "specialsource/Iris-" + version + "-rmo.jar")) from(new File(buildDir, "Iris-" + version + ".jar"))
into(file(path)) into(file(path))
rename { String fileName -> rename { String fileName ->
fileName.replace(new File(buildDir, "specialsource/Iris-" + version + "-rmo.jar").getName(), "Iris.jar") fileName.replace("Iris-" + version + ".jar", "Iris.jar")
} }
} }
} }