You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ke...@apache.org on 2013/12/05 20:58:16 UTC

[4/9] git commit: Fixing the scope for hasProperty in publish

Fixing the scope for hasProperty in publish


Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/ecda2b3b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/ecda2b3b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/ecda2b3b

Branch: refs/heads/master
Commit: ecda2b3b17dd60e2676599168a41e3443ab3cc34
Parents: 6436a93
Author: Maxim Khutornenko <mk...@twitter.com>
Authored: Wed Dec 4 15:04:34 2013 -0800
Committer: Maxim Khutornenko <mk...@twitter.com>
Committed: Wed Dec 4 15:04:34 2013 -0800

----------------------------------------------------------------------
 build.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/ecda2b3b/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 366512d..98f7701 100644
--- a/build.gradle
+++ b/build.gradle
@@ -40,7 +40,7 @@ publishing {
       }
     }
   }
-  if (hasProperty('internalMavenUrl')) {
+  if (project.hasProperty('internalMavenUrl')) {
     repositories {
       maven {
         credentials {
@@ -80,7 +80,7 @@ sourceSets {
 }
 
 jar {
-    from sourceSets.generated.output
+  from sourceSets.generated.output
 }
 
 dependencies {