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 efc6fa6a04
commit fdd125c43e
4 changed files with 36 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+plugins {
+ `java-library`
+ `maven-publish`
+}
+
+java {
@@ -52,6 +53,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ 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)