Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Make repository deployable to maven central.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyguenther committed Jun 29, 2015
1 parent 17a4017 commit c2e0a31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
6 changes: 6 additions & 0 deletions gradle.properties.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sonatypeUsername = <username>
sonatypePassword = <password>

signing.keyId = <key id>
signing.password = <key passphrase>
signing.secretKeyRingFile = /home/<user>/.gnupg/secring.gp

0 comments on commit c2e0a31

Please sign in to comment.