mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
Fix deps
This commit is contained in:
parent
5333d23ad8
commit
90b8747775
10
build.gradle
10
build.gradle
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user