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/22 19:28:10 UTC

[02/25] 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/d33fee00
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/d33fee00
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/d33fee00

Branch: refs/heads/feature/GEODE-17-2
Commit: d33fee0040603e650ce8842efd8f72bbd70871d3
Parents: fdfd98f
Author: Anthony Baker <ab...@apache.org>
Authored: Mon Apr 11 22:45:30 2016 -0700
Committer: Anthony Baker <ab...@apache.org>
Committed: Tue Apr 12 09:03:38 2016 -0700

----------------------------------------------------------------------
 gradle/utilities.gradle | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/d33fee00/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
       }
     }
   }