Add version back to jar

This commit is contained in:
Telesphoreo 2022-04-18 17:11:24 -05:00
parent df02ad6771
commit 953f1813d3
2 changed files with 1 additions and 9 deletions

2
Jenkinsfile vendored
View File

@ -23,7 +23,7 @@ pipeline {
}
post {
always {
archiveArtifacts artifacts: "build/libs/Plex.jar", fingerprint: true
archiveArtifacts artifacts: "build/libs/*.jar", fingerprint: true
javadoc javadocDir: "build/docs/javadoc", keepAll: false
discordSend description: "**Build:** ${env.BUILD_NUMBER}\n**Status:** ${currentBuild.currentResult}", enableArtifactsList: true, footer: "Built with Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, scmWebUrl: "https://github.com/plexusorg/Plex", showChangeset: true, title: env.JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL
cleanWs()

View File

@ -62,18 +62,10 @@ version = "1.0.2-SNAPSHOT"
description = "Plex"
shadowJar {
archiveBaseName.set("Plex")
archiveClassifier.set("")
archiveVersion.set("")
relocate "org.bstats", "dev.plex"
}
tasks.jar {
archiveBaseName.set("Plex")
archiveClassifier.set("notshaded")
archiveVersion.set("")
}
bukkit {
name = "Plex"
version = rootProject.version