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:
parent
e8f01f89d2
commit
e519a51f95
19 changed files with 61 additions and 63 deletions
|
@ -27,12 +27,10 @@ index e431e3435737e28394d81b56568a08b3c3148b9b..b23bde3b5e881f146539a307d0a59f21
|
|||
+/.factorypath
|
||||
diff --git a/build.gradle.kts b/build.gradle.kts
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..2ffdda3764d92227264dd4a1ef9bf473db88c3a8
|
||||
index 0000000000000000000000000000000000000000..3ccff060bcb816520a27ec2f34adc977dd49ce1d
|
||||
--- /dev/null
|
||||
+++ b/build.gradle.kts
|
||||
@@ -0,0 +1,68 @@
|
||||
+import java.util.Locale
|
||||
+
|
||||
@@ -0,0 +1,65 @@
|
||||
+plugins {
|
||||
+ `java-library`
|
||||
+ `maven-publish`
|
||||
|
@ -66,7 +64,6 @@ index 0000000000000000000000000000000000000000..2ffdda3764d92227264dd4a1ef9bf473
|
|||
+
|
||||
+configure<PublishingExtension> {
|
||||
+ publications.create<MavenPublication>("maven") {
|
||||
+ artifactId = project.name.toLowerCase(Locale.ENGLISH)
|
||||
+ from(components["java"])
|
||||
+ }
|
||||
+}
|
||||
|
@ -82,7 +79,7 @@ index 0000000000000000000000000000000000000000..2ffdda3764d92227264dd4a1ef9bf473
|
|||
+
|
||||
+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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue