From 7d9f04662f357a47a4c58558361ce7c2b202bfc3 Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Sun, 9 Apr 2023 21:03:51 +0200 Subject: Uses the Gradle plugin 'maven-publish' to publish to a Maven local repository --- build.gradle | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/build.gradle b/build.gradle index 74b5551..6a055db 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,42 @@ allprojects { apply plugin: 'java-library' + apply plugin: 'maven-publish' + + java { + withJavadocJar() + withSourcesJar() + } + + publishing { + publications { + mavenJava(MavenPublication) { + from components.java + pom { + name = "JogAmp's Ardor3D Continuation" + description = 'A general-purpose, professionally oriented, open source, scenegraph based 3D engine written in Java' + url = 'https://jogamp.org/deployment/ardor3d/' + licenses { + license { + name = 'zlib/libpng License' + url = 'http://opensource.org/licenses/Zlib' + } + } + developers { + developer { + id = 'gouessej' + name = 'Julien Gouesse' + email = 'gouessej@orange.fr' + } + } + scm { + connection = 'scm:git:git://jogamp.com/srv/scm/ardor3d.git' + developerConnection = 'ssh://jgouesse@jogamp.org/srv/scm/ardor3d.git' + url = 'https://jogamp.org/cgit/ardor3d.git/' + } + } + } + } + } group = 'org.jogamp.ardor3d' version = '1.0-SNAPSHOT' -- cgit v1.2.3