Skip to content

Commit

Permalink
GEODE-1213: Enable signing archives on geode-assembly
Browse files Browse the repository at this point in the history
The disableMavenPublishing task was used on both geode-modules-assembly
and geode-assembly. But geode-assembly does have archives that need to
be signed, so we should not disable signing for this module.

Adding a separate disableSigning method to disable signing, which is
used only in the geode-modules-assembly.
  • Loading branch information
upthewaterspout committed Apr 13, 2016
1 parent 124f978 commit 3ac74a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions extensions/geode-modules-assembly/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ extraArchive {
}

disableMavenPublishing()
disableSigning()

def getJarArtifact(module) {
project(module).configurations.archives.artifacts.findAll {
Expand Down
5 changes: 5 additions & 0 deletions gradle/utilities.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ allprojects {
afterEvaluate {
install.enabled = false
uploadArchives.enabled = false
}
}
disableSigning = {
// Use this closure when a project should not publish anything to maven.
afterEvaluate {
signArchives.enabled = false
}
}
Expand Down

0 comments on commit 3ac74a4

Please sign in to comment.