mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 04:17:44 +01:00
Remove pom for paperclip install to maven local
This commit is contained in:
parent
4de0356d62
commit
f538a34f38
@ -38,25 +38,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
)
|
||||
for (tld in setOf("net", "com", "org")) {
|
||||
attributes("$tld/bukkit", "Sealed" to true)
|
||||
@@ -0,0 +0,0 @@ relocation {
|
||||
}
|
||||
}
|
||||
|
||||
+val generatePom = tasks.named<GenerateMavenPom>("generatePomFileForMavenPublication")
|
||||
+
|
||||
tasks.shadowJar {
|
||||
configurations = listOf(project.configurations.vanillaServer.get())
|
||||
archiveClassifier.set("mojang-mapped")
|
||||
|
||||
+ // Needed for Paperclip's install to maven local feature // todo: are we keeping this? if so is this still correct?
|
||||
+ from(generatePom) {
|
||||
+ into("META-INF/maven/io.papermc.paper/paper")
|
||||
+ rename { "pom.xml" }
|
||||
+ }
|
||||
+
|
||||
for (relocation in relocation.relocations.get()) {
|
||||
relocate(relocation.fromPackage, relocation.toPackage) {
|
||||
for (exclude in relocation.excludes) {
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||
|
Loading…
Reference in New Issue
Block a user