added back packaging node

This commit is contained in:
Sxtanna 2020-07-29 18:20:39 -04:00
parent 592f093566
commit 98fbceeb1d

View File

@ -56,11 +56,11 @@ shadowJar {
license { license {
header = file("headers/header.txt") header = file("headers/header.txt")
ext { ext {
year = 2020 year = 2020
} }
include "**/*.java" include "**/*.java"
} }
@ -81,7 +81,7 @@ publishing {
} else { } else {
url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/") url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/")
} }
credentials { credentials {
username = System.getenv("JENKINS_USER") username = System.getenv("JENKINS_USER")
password = System.getenv("JENKINS_PASS") password = System.getenv("JENKINS_PASS")
@ -94,6 +94,7 @@ publishing {
from components.java from components.java
pom.withXml { pom.withXml {
asNode().appendNode("packaging", "jar")
asNode().remove(asNode().get("dependencies")) asNode().remove(asNode().get("dependencies"))
} }
} }