diff options
author | Meredith Espinosa <goclonefilms@gmail.com> | 2019-07-09 16:50:24 -0700 |
---|---|---|
committer | Meredith Espinosa <goclonefilms@gmail.com> | 2019-07-09 16:50:24 -0700 |
commit | ad4d0357d19d3dee50c28b7f5485a24deeeb4dde (patch) | |
tree | d4d7600ad6e997dce0d3e9fdee47a9dc7901e07d /build.gradle | |
parent | 8cede55d8b00be9dd32936cf9ea5ff42b63f73da (diff) | |
download | LibGui-1.0.0.tar.gz LibGui-1.0.0.tar.bz2 LibGui-1.0.0.zip |
fix license, maven1.0.0
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 80e16fe..f56ea43 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,9 @@ +buildscript { + repositories { + jcenter() + } +} + plugins { id 'fabric-loom' version '0.2.3-SNAPSHOT' id 'maven-publish' @@ -67,15 +73,21 @@ jar { // configure the maven publication publishing { publications { - mavenJava(MavenPublication) { + maven(MavenPublication) { // add all the jars that should be included when publishing to maven + //artifact(jar) { + // builtBy remapJar + //} artifact ("${project.buildDir.absolutePath}/libs/${archivesBaseName}-${project.version}.jar") { //release jar - file location not provided anywhere in loom classifier null builtBy remapJar } - artifact(jar) { + + artifact ("${project.buildDir.absolutePath}/libs/${archivesBaseName}-${project.version}-dev.jar") { //release jar - file location not provided anywhere in loom + classifier "dev" builtBy remapJar } + artifact(sourcesJar) { builtBy remapSourcesJar } |