Skip to content

Commit

Permalink
updated sonatype.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
akhikhl committed Dec 24, 2013
1 parent 941f0af commit 2e36118
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sonatype.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
sonatypePassword={sonatype-password}
(Please substitute real data instead of curly braces).
4. Run from command line:
gradle uploadArchives -DpublishToSonatype=true
gradle uploadArchives -PpublishToSonatype=true
*/

apply plugin: 'signing'
Expand All @@ -20,6 +20,8 @@ afterEvaluate {
if((plugins.findPlugin('java') || plugins.findPlugin('groovy')) &&
project.hasProperty('publishToSonatype') &&
project.hasProperty('signing.keyId') &&
project.hasProperty('signing.password') &&
project.hasProperty('signing.secretKeyRingFile') &&
project.hasProperty('sonatypeUsername') &&
project.hasProperty('sonatypePassword')) {

Expand All @@ -39,7 +41,7 @@ afterEvaluate {
pom.project {
name project.name
packaging 'jar'
description 'Gradle plugin for running web-applications under jetty 8.1.8 and servlet API 3.0.1.'
description 'Gradle plugin for running web-applications under jetty 7/8/9 and servlet API 2.5/3.0.1/3.1.0'
url 'https://github.com/akhikhl/gretty'

scm {
Expand Down

0 comments on commit 2e36118

Please sign in to comment.