Cleanup deployment config more

This commit is contained in:
Kyle Wood 2021-01-02 14:50:48 -08:00
parent 1c543f87de
commit 8b2a836e39
No known key found for this signature in database
GPG key ID: D74E80413907E2D3

View file

@ -121,16 +121,19 @@ tasks.shadowJar {
listOf(
"com.github.salomonbrys.kotson",
"com.google.gson",
"io.sigpipe",
"me.jamiemansfield",
"net.fabricmc",
"org.apache.commons.codec",
"org.apache.commons.compress",
"org.apache.commons.logging",
"org.apache.felix",
"org.apache.http",
"org.cadixdev",
"org.eclipse",
"org.objectweb",
"org.osgi"
"org.osgi",
"org.tukaani"
).forEach { pack ->
relocate(pack, "$prefix.$pack")
}
@ -198,9 +201,7 @@ fun MavenPublication.standardConfig(versionName: String) {
version = versionName
from(components["java"])
artifact(devShadowJar) {
classifier = "dev"
}
artifact(devShadowJar)
withoutBuildIdentifier()
pom {
@ -215,12 +216,6 @@ fun MavenPublication.pluginConfig(versionName: String) {
artifact(sourcesJar)
for (artifact in artifacts) {
if (artifact.classifier == "all") {
artifact.classifier = null
}
}
withoutBuildIdentifier()
pom {
pomConfig()