You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2017/09/11 14:07:33 UTC

[geode] branch develop updated: GEODE-3586: Fix syntax in uploadArchives task (since gradle 3.5)

This is an automated email from the ASF dual-hosted git repository.

jensdeppe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 361c61f  GEODE-3586: Fix syntax in uploadArchives task (since gradle 3.5)
361c61f is described below

commit 361c61f0cd88d1cb4951cd472875da16b73f53e6
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Mon Sep 11 07:06:55 2017 -0700

    GEODE-3586: Fix syntax in uploadArchives task (since gradle 3.5)
---
 gradle/publish.gradle | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gradle/publish.gradle b/gradle/publish.gradle
index af5ee13..e818468 100644
--- a/gradle/publish.gradle
+++ b/gradle/publish.gradle
@@ -110,10 +110,10 @@ subprojects {
         def snapshotCreds = new XmlSlurper().parse(settingsXml).servers.server.find { server ->
           server.id.text() == 'apache.snapshots.https'
         }
-  
+
         if (snapshotCreds != null) {
           tasks.uploadArchives.doFirst {
-            repositories().withType(MavenDeployer).each { repo ->
+            repositories.withType(MavenDeployer).each { repo ->
               repo.snapshotRepository.authentication.userName = snapshotCreds.username.text()
               repo.snapshotRepository.authentication.password = snapshotCreds.password.text()
             }

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].