Capitalize artifact/output name

This commit is contained in:
Ryder Belserion 2023-03-04 23:40:48 -05:00
parent 043f216b5e
commit ac6caf62e1
No known key found for this signature in database
GPG Key ID: 8FC2E6C54BBF05FE
2 changed files with 4 additions and 4 deletions

View File

@ -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")
}
}

View File

@ -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"