geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jinmeil...@apache.org
Subject [02/25] incubator-geode git commit: GEODE-1213: Disables signing task on geode-modules-assembly
Date Fri, 22 Apr 2016 17:28:10 GMT
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 <abaker@apache.org>
Authored: Mon Apr 11 22:45:30 2016 -0700
Committer: Anthony Baker <abaker@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
       }
     }
   }


Mime
View raw message