[ 
https://issues.apache.org/jira/browse/BEAM-4614?focusedWorklogId=114854&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-114854
 ]

ASF GitHub Bot logged work on BEAM-4614:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/Jun/18 18:05
            Start Date: 22/Jun/18 18:05
    Worklog Time Spent: 10m 
      Work Description: kennknowles closed pull request #5728: [BEAM-4614] 
Enabling gradle build to receive extra buildscript repositories
URL: https://github.com/apache/beam/pull/5728
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/build.gradle b/build.gradle
index 5fc2ee5b731..008b6bd81b6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -33,6 +33,13 @@ buildscript {
   repositories {
     maven { url offlineRepositoryRoot }
 
+    if (gradle.hasProperty('extraMavenUrls')) {
+      gradle.ext.extraMavenUrls.each {
+        mavenUrl ->
+          return maven { url mavenUrl }
+      }
+    }
+
     // To run gradle in offline mode, one must first invoke
     // 'updateOfflineRepository' to create an offline repo
     // inside the root project directory. See the application


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 114854)
    Time Spent: 1h 50m  (was: 1h 40m)

> Allow gradle build to take extra list of repositories through an init file
> --------------------------------------------------------------------------
>
>                 Key: BEAM-4614
>                 URL: https://issues.apache.org/jira/browse/BEAM-4614
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>            Reporter: Pablo Estrada
>            Assignee: Pablo Estrada
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to