Rename final jar file

This commit is contained in:
RuscalWorld 2021-05-24 20:34:27 +03:00
parent 073f8c1a69
commit 2b78de3d76
No known key found for this signature in database
GPG key ID: 4F53776031D128ED

View file

@ -77,7 +77,7 @@ jar {
}
shadowJar {
archiveClassifier = "all-dev"
archiveClassifier = "shaded-dev"
dependencies {
include dependency("io.prometheus:simpleclient:${project.prometheus_version}")
@ -87,7 +87,7 @@ shadowJar {
task remapShadowJar(type: RemapJarTask, dependsOn: shadowJar) {
input = shadowJar.archiveFile
archiveFileName = shadowJar.archiveFileName.get().replaceAll("-dev\\.jar\$", ".jar")
archiveFileName = shadowJar.archiveFileName.get().replaceAll("-shaded-dev\\.jar\$", ".jar")
addNestedDependencies = true
remapAccessWidener = true
}