diff --git a/build.gradle.kts b/build.gradle.kts index 05691bc39..62428efb6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -88,6 +88,33 @@ tasks.withType().configureEach { publishing { publications.create("maven") { from(components["java"]) + pom { + url.set("https://plantuml.com/") + licenses { + license { + name.set("The GNU General Public License") + url.set("http://www.gnu.org/licenses/gpl.txt") + } + } + developers { + developer { + id.set("arnaud.roques") + name.set("Arnaud Roques") + email.set("plantuml@gmail.com") + } + } + scm { + connection.set("scm:git:git://github.com:plantuml/plantuml.git") + developerConnection.set("scm:git:ssh://git@github.com:plantuml/plantuml.git") + url.set("https://github.com/plantuml/plantuml") + } + } + } + repositories { + maven { + name = "fstest" + url = uri(layout.buildDirectory.dir("repo")) + } } }