diff options
-rw-r--r-- | build.gradle | 18 | ||||
-rw-r--r-- | gradle.properties | 4 | ||||
-rw-r--r-- | gradle/wrapper/gradle-wrapper.properties | 2 |
3 files changed, 21 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index 153d556..72333ee 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,17 @@ +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.5.3" + } +} + apply plugin: "groovy" apply plugin: "maven" apply plugin: "signing" +apply plugin: 'io.codearte.nexus-staging' defaultTasks "build" @@ -10,7 +20,7 @@ targetCompatibility = 1.7 ext { baseVersion = "0.4" - isSnapshot = true + isSnapshot = false snapshotAppendix = "-SNAPSHOT" projectVersion = baseVersion + (isSnapshot ? snapshotAppendix : "") @@ -39,3 +49,9 @@ dependencies { compile gradleApi() compile localGroovy() } + +nexusStaging { + packageGroup = groupName + stagingProfileId = "a622b6773bea07" +} + diff --git a/gradle.properties b/gradle.properties index a1e8c9b..7853e98 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,7 @@ -signingEnabled = false +signingEnabled = true sonatypeUsername = incorrectUsername sonatypePassword = incorrectPassword +nexusUsername = incorrectUsername +nexusPassword = incorrectPassword diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index cee3aa1..2bd698e 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=http\://services.gradle.org/distributions/gradle-2.3-all.zip +distributionUrl=http\://services.gradle.org/distributions/gradle-2.5-all.zip |