Upgrade paperweight with bundler jar updates

This allows creating paperclip jars pre-patch (only the reobf'd jar for
now).
This commit is contained in:
Kyle Wood 2021-11-26 00:08:46 -06:00
commit 9809c9e47b
11 changed files with 22 additions and 24 deletions

View file

@ -31,8 +31,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +0,0 @@
+import java.util.Locale
+
+plugins {
+ `java-library`
+ `maven-publish`
@ -66,7 +64,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+configure<PublishingExtension> {
+ publications.create<MavenPublication>("maven") {
+ artifactId = project.name.toLowerCase(Locale.ENGLISH)
+ from(components["java"])
+ }
+}
@ -82,7 +79,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+tasks.jar {
+ from(generateApiVersioningFile.map { it.outputs.files.singleFile }) {
+ into("META-INF/maven/${project.group}/${project.name.toLowerCase(Locale.ENGLISH)}")
+ into("META-INF/maven/${project.group}/${project.name}")
+ }
+ manifest {
+ attributes(