Fix artifact ids
This commit is contained in:
@@ -38,22 +38,22 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
testImplementation("org.hamcrest:hamcrest-library:1.3")
|
||||
}
|
||||
@@ -0,0 +0,0 @@ tasks.jar {
|
||||
"Implementation-Vendor" to SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(Date()), // Paper
|
||||
"Specification-Title" to "Bukkit",
|
||||
"Specification-Version" to project.version,
|
||||
- "Specification-Vendor" to "Bukkit Team"
|
||||
+ "Specification-Vendor" to "Bukkit Team",
|
||||
+ "Multi-Release" to "true" // Paper
|
||||
))
|
||||
for (tld in listOf("net", "com", "org")) {
|
||||
attributes(mapOf(
|
||||
@@ -0,0 +0,0 @@ configure<PublishingExtension> {
|
||||
"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 @@ publishing {
|
||||
}
|
||||
}
|
||||
|
||||
+val generatePom = tasks.named<GenerateMavenPom>("generatePomFileForMavenPublication")
|
||||
+
|
||||
tasks.shadowJar {
|
||||
archiveClassifier.set("mojang-mapped")
|
||||
|
||||
+ // Needed for Paperclip's install to maven local feature
|
||||
+ from(generatePom) {
|
||||
+ into("META-INF/maven/io.papermc.paper/paper")
|
||||
|
||||
Reference in New Issue
Block a user