mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-10 10:10:22 +01:00
Capitalize artifact/output name
This commit is contained in:
parent
043f216b5e
commit
ac6caf62e1
@ -6,7 +6,7 @@ val projectBeta = settings.versions.projectBeta.get().toBoolean()
|
||||
val projectVersion = settings.versions.projectVersion.get()
|
||||
val projectName = settings.versions.projectName.get()
|
||||
|
||||
val finalVersion = if (projectBeta) "$projectVersion+beta" else projectVersion
|
||||
val finalVersion = if (projectBeta) "$projectVersion+Beta" else projectVersion
|
||||
|
||||
project.version = finalVersion
|
||||
|
||||
@ -22,6 +22,6 @@ dependencies {
|
||||
|
||||
tasks {
|
||||
shadowJar {
|
||||
archiveFileName.set("$projectName+api+$finalVersion.jar")
|
||||
archiveFileName.set("$projectName+API+$finalVersion.jar")
|
||||
}
|
||||
}
|
@ -40,13 +40,13 @@ val isBeta = settings.versions.projectBeta.get().toBoolean()
|
||||
|
||||
val projectVersion = settings.versions.projectVersion.get()
|
||||
|
||||
val finalVersion = if (isBeta) "$projectVersion+beta" else projectVersion
|
||||
val finalVersion = if (isBeta) "$projectVersion+Beta" else projectVersion
|
||||
|
||||
val type = if (isBeta) "beta" else "release"
|
||||
|
||||
tasks {
|
||||
shadowJar {
|
||||
archiveFileName.set("${projectName}+${projectDir.name}+$finalVersion.jar")
|
||||
archiveFileName.set("${projectName}+Paper+$finalVersion.jar")
|
||||
|
||||
listOf(
|
||||
"org.bstats"
|
||||
|
Loading…
Reference in New Issue
Block a user