You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bo...@apache.org on 2015/02/10 14:07:39 UTC
svn commit: r1658703 - /gump/live/python/gump/core/build/gradle.py
Author: bodewig
Date: Tue Feb 10 13:07:39 2015
New Revision: 1658703
URL: http://svn.apache.org/r1658703
Log:
unescape repository URI, and add a comma between entries
Modified:
gump/live/python/gump/core/build/gradle.py
Modified: gump/live/python/gump/core/build/gradle.py
URL: http://svn.apache.org/viewvc/gump/live/python/gump/core/build/gradle.py?rev=1658703&r1=1658702&r2=1658703&view=diff
==============================================================================
--- gump/live/python/gump/core/build/gradle.py (original)
+++ gump/live/python/gump/core/build/gradle.py Tue Feb 10 13:07:39 2015
@@ -38,7 +38,8 @@ from time import strftime
###############################################################################
def record_proxy(init_stream, port, prefix, uri):
- init_stream.write("'%s': 'http://localhost:%s:%s'" % (uri, port, prefix))
+ init_stream.write("'%s': 'http://localhost:%s:%s',\n" % (uri.replace('\\', ''),
+ port, prefix))
def locateGradleProjectFile(project):
"""Return Gradle project file location"""
@@ -256,7 +257,8 @@ apply plugin:MavenRepoProxyPlugin
class MavenRepoProxyPlugin implements Plugin<Gradle> {
- private static final def REPOS_MAP = [""")
+ private static final def REPOS_MAP = [
+""")
% (project.getName(), strftime('%Y-%m-%d %H:%M:%S')))
if not self.run.getEnvironment().noMvnRepoProxy:
for (_name, prefix, url) in PROXY_CONFIG: