helping with version Nomners

This commit is contained in:
Brian Fopiano 2022-08-13 03:20:42 -07:00
parent 2871038584
commit 0765c21cef

View File

@ -77,7 +77,7 @@ repositories {
maven { url "https://maven.enginehub.org/repo/" } maven { url "https://maven.enginehub.org/repo/" }
mavenCentral() mavenCentral()
mavenLocal() mavenLocal()
maven { url "https://jitpack.io"} maven { url "https://jitpack.io" }
} }
/** /**
@ -300,7 +300,7 @@ def registerCustomOutputTask(name, path) {
from(new File(buildDir, "Iris-" + version + ".jar")) from(new File(buildDir, "Iris-" + version + ".jar"))
into(file(path)) into(file(path))
rename { String fileName -> rename { String fileName ->
fileName.replace("Iris-" + version + ".jar", "Iris.jar") fileName.replace("Iris-" + version + ".jar", "Iris-" + version + ".jar")
} }
} }
} }
@ -317,7 +317,7 @@ def registerCustomOutputTaskUnix(name, path) {
from(new File(buildDir, "Iris-" + version + ".jar")) from(new File(buildDir, "Iris-" + version + ".jar"))
into(file(path)) into(file(path))
rename { String fileName -> rename { String fileName ->
fileName.replace("Iris-" + version + ".jar", "Iris.jar") fileName.replace("Iris-" + version + ".jar", "Iris-" + version + ".jar")
} }
} }
} }