mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
added back packaging node
This commit is contained in:
parent
592f093566
commit
98fbceeb1d
@ -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"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user