Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[build] Only require artifact signing if we are uploading non snapsho…

…t artifacts
  • Loading branch information...
commit 90bcf95dcd7789c68db34bbddad2f5e219552f54 1 parent 18de67c
@alkemist alkemist authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  build.gradle
View
2  build.gradle
@@ -15,6 +15,7 @@ apply plugin: 'idea'
ext {
grailsVersion = '2.1.0.BUILD-SNAPSHOT'
+ isBuildSnapshot = grailsVersion.endsWith(".BUILD-SNAPSHOT")
antTraxVersion = "1.7.1"
antVersion = "1.8.2"
aspectjVersion = "1.6.10"
@@ -189,6 +190,7 @@ subprojects { project ->
signing {
sign configurations.archives
+ required { !isBuildSnapshot && gradle.taskGraph.contains(uploadArchives) }
}
uploadPublished {

0 comments on commit 90bcf95

Please sign in to comment.
Something went wrong with that request. Please try again.