diff options
author | Julien Gouesse <[email protected]> | 2023-04-09 21:03:51 +0200 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2023-04-09 21:03:51 +0200 |
commit | 7d9f04662f357a47a4c58558361ce7c2b202bfc3 (patch) | |
tree | ddd009123e33c273739d9fd522b4bc9083d51d0c | |
parent | 3db72c446c98dc988985d90b28cb464953a6e55b (diff) |
Uses the Gradle plugin 'maven-publish' to publish to a Maven local repository
-rw-r--r-- | build.gradle | 37 |
1 files changed, 37 insertions, 0 deletions
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 = '[email protected]' + } + } + scm { + connection = 'scm:git:git://jogamp.com/srv/scm/ardor3d.git' + developerConnection = 'ssh://[email protected]/srv/scm/ardor3d.git' + url = 'https://jogamp.org/cgit/ardor3d.git/' + } + } + } + } + } group = 'org.jogamp.ardor3d' version = '1.0-SNAPSHOT' |