You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2016/04/13 23:10:00 UTC
[05/12] incubator-geode git commit: GEODE-1213: Disables signing task
on geode-modules-assembly
GEODE-1213: Disables signing task on geode-modules-assembly
The signArchives task was not getting disabled on geode-modules-
assembly project. This was causing a build error since the
project did not generate a jar artifact. This error was only
seen when enabling signing by setting properties in your
~/.gradle/gradle.properties file.
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/3ac91044
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/3ac91044
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/3ac91044
Branch: refs/heads/feature/GEODE-17-2
Commit: 3ac910449c22d407038ca131188685d9524dc245
Parents: 50671d7
Author: Anthony Baker <ab...@apache.org>
Authored: Mon Apr 11 22:45:30 2016 -0700
Committer: Anthony Baker <ab...@apache.org>
Committed: Mon Apr 11 22:45:30 2016 -0700
----------------------------------------------------------------------
gradle/utilities.gradle | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/3ac91044/gradle/utilities.gradle
----------------------------------------------------------------------
diff --git a/gradle/utilities.gradle b/gradle/utilities.gradle
index 6a6df04..fa77839 100644
--- a/gradle/utilities.gradle
+++ b/gradle/utilities.gradle
@@ -29,12 +29,11 @@ allprojects {
}
disableMavenPublishing = {
- // Use this closure when a project should not publish anything to maven. It appears that the nexus
- // upload task still needs to exist, which is why an empty one is created.
+ // Use this closure when a project should not publish anything to maven.
afterEvaluate {
- tasks.remove(install)
- tasks.remove(uploadArchives)
- task uploadArchives << { }
+ install.enabled = false
+ uploadArchives.enabled = false
+ signArchives.enabled = false
}
}
}