Put pom in correct location for Paperclip install to maven local feature

This commit is contained in:
Jason Penilla 2021-06-14 18:50:13 -07:00
parent 09ead8b043
commit 0c732e2ef5
No known key found for this signature in database
GPG key ID: 0E75A301420E48F8
9 changed files with 51 additions and 17 deletions

View file

@ -16,14 +16,15 @@ index e431e3435737e28394d81b56568a08b3c3148b9b..c484aff2c192bf42059b5689327909e4
/.project
diff --git a/build.gradle.kts b/build.gradle.kts
new file mode 100644
index 0000000000000000000000000000000000000000..35b57f52fcfd91cff04dc60c3a8a16b31f775fc0
index 0000000000000000000000000000000000000000..271a6672e7fe9ce51bf96c8c18f5579fc47b2414
--- /dev/null
+++ b/build.gradle.kts
@@ -0,0 +1,59 @@
@@ -0,0 +1,66 @@
+import java.util.Locale
+
+plugins {
+ `java-library`
+ `maven-publish`
+}
+
+java {
@ -52,6 +53,12 @@ index 0000000000000000000000000000000000000000..35b57f52fcfd91cff04dc60c3a8a16b3
+ testImplementation("org.ow2.asm:asm-tree:9.1")
+}
+
+configure<PublishingExtension> {
+ publications.create<MavenPublication>("maven") {
+ from(components["java"])
+ }
+}
+
+val generateApiVersioningFile by tasks.registering {
+ val pomProps = layout.buildDirectory.file("pom.properties")
+ outputs.file(pomProps)