Put pom in correct location for Paperclip install to maven local feature
This commit is contained in:
parent
efc6fa6a04
commit
fdd125c43e
4 changed files with 36 additions and 2 deletions
|
@ -47,9 +47,19 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
))
|
||||
for (tld in listOf("net", "com", "org")) {
|
||||
attributes(mapOf(
|
||||
@@ -0,0 +0,0 @@ tasks.jar {
|
||||
@@ -0,0 +0,0 @@ configure<PublishingExtension> {
|
||||
}
|
||||
}
|
||||
|
||||
+val generatePom = tasks.named<GenerateMavenPom>("generatePomFileForMavenPublication")
|
||||
+
|
||||
tasks.shadowJar {
|
||||
+ // Needed for Paperclip's install to maven local feature
|
||||
+ from(generatePom) {
|
||||
+ into("META-INF/maven/io.papermc.paper/paper")
|
||||
+ rename { "pom.xml" }
|
||||
+ }
|
||||
+
|
||||
listOf(
|
||||
- "jline", "it.unimi", "org.apache.commons.codec", "org.apache.commons.io",
|
||||
+ "jline", "org.apache.commons.codec", "org.apache.commons.io", // Paper - don't relocate fastutil
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue