Give the JARs nicer names

This commit is contained in:
Telesphoreo 2022-04-23 23:35:37 -05:00
parent fbd3983c0b
commit 36877ae2f2
No known key found for this signature in database
GPG Key ID: B5CDDEBA526C0130
2 changed files with 9 additions and 0 deletions

View File

@ -13,6 +13,10 @@ repositories {
} }
} }
jar {
archiveBaseName.set("Plex-API")
}
dependencies { dependencies {
compileOnly "org.projectlombok:lombok:1.18.22" compileOnly "org.projectlombok:lombok:1.18.22"
annotationProcessor "org.projectlombok:lombok:1.18.22" annotationProcessor "org.projectlombok:lombok:1.18.22"

View File

@ -63,6 +63,7 @@ version = "1.1-SNAPSHOT"
description = "Plex" description = "Plex"
shadowJar { shadowJar {
archiveBaseName.set("Plex")
archiveClassifier.set("") archiveClassifier.set("")
relocate "org.bstats", "dev.plex" relocate "org.bstats", "dev.plex"
} }
@ -171,6 +172,10 @@ tasks {
finalizedBy(buildProperties) finalizedBy(buildProperties)
} }
jar {
enabled = false
}
javadoc { javadoc {
options.memberLevel = JavadocMemberLevel.PRIVATE options.memberLevel = JavadocMemberLevel.PRIVATE
} }