Update server build file
This commit is contained in:
parent
416ee76329
commit
0a667a7552
5 changed files with 23 additions and 47 deletions
|
@ -21,14 +21,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
implementation("com.googlecode.json-simple:json-simple:1.1.1") {
|
||||
// This includes junit transitively for whatever reason
|
||||
isTransitive = false
|
||||
@@ -0,0 +0,0 @@ tasks.jar {
|
||||
"Specification-Title" to "Bukkit",
|
||||
"Specification-Version" to project.version,
|
||||
"Specification-Vendor" to "Bukkit Team",
|
||||
+ "Multi-Release" to "true", // Paper
|
||||
)
|
||||
for (tld in setOf("net", "com", "org")) {
|
||||
attributes("$tld/bukkit", "Sealed" to true)
|
||||
@@ -0,0 +0,0 @@ relocation {
|
||||
}
|
||||
}
|
||||
|
@ -36,9 +28,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+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
|
||||
+ // 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" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue