From c2e0a316c48a8b056c9c4c0932789fa1ed08dacc Mon Sep 17 00:00:00 2001 From: Jeffrey Guenther Date: Mon, 29 Jun 2015 12:14:52 -0700 Subject: [PATCH] Make repository deployable to maven central. --- build.gradle | 4 ++-- gradle.properties.example | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 gradle.properties.example diff --git a/build.gradle b/build.gradle index e6a6350..b3c5bfb 100755 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ apply plugin: 'java' apply plugin: 'application' apply from: 'gradle/javafx.plugin' -version = '0.5.0-SNAPSHOT' +version = '0.5.1-SNAPSHOT' group = 'org.shirolang' gradle.projectsEvaluated { @@ -156,7 +156,7 @@ signArchives.onlyIf { project.hasProperty('signing.keyId') && project.hasProperty('signing.password') && project.hasProperty('signing.secretKeyRingFile') } -def doUploadArchives = false //project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword') +def doUploadArchives = project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword') if(doUploadArchives) { uploadArchives { diff --git a/gradle.properties.example b/gradle.properties.example new file mode 100644 index 0000000..ffe78e8 --- /dev/null +++ b/gradle.properties.example @@ -0,0 +1,6 @@ +sonatypeUsername = +sonatypePassword = + +signing.keyId = +signing.password = +signing.secretKeyRingFile = /home//.gnupg/secring.gp \ No newline at end of file