Rename final jar file
This commit is contained in:
parent
073f8c1a69
commit
2b78de3d76
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue