Skip to content

Commit 2d1c14e

Browse files
author
R. Tyler Croy
committed
Prefer the torquebox maven proxy which may now be faster than lasagna.io
We'll keep both around just to be sure. References #297
1 parent 8fbc0f7 commit 2d1c14e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jruby-gradle-base-plugin/src/main/groovy/com/github/jrubygradle/JRubyPlugin.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import org.gradle.api.Project
1313
class JRubyPlugin implements Plugin<Project> {
1414
static final String TASK_GROUP_NAME = 'JRuby'
1515
static final String RUBYGEMS_ORG_URL = 'https://rubygems.org'
16+
static final String TORQUEBOX_RUBYGEMS_RELEASE_URL = 'http://rubygems-proxy.torquebox.org/releases'
1617
static final String RUBYGEMS_RELEASE_URL = 'http://rubygems.lasagna.io/proxy/maven/releases'
1718
static final String VERSION_PROPERTY = 'jrubyVersion'
1819

@@ -80,6 +81,7 @@ class JRubyPlugin implements Plugin<Project> {
8081
boolean setupRubygemsRelease(Project project) {
8182
if (!project.repositories.metaClass.respondsTo(project.repositories, 'rubygemsRelease')) {
8283
project.repositories.metaClass.rubygemsRelease << { ->
84+
maven { url TORQUEBOX_RUBYGEMS_RELEASE_URL }
8385
maven { url RUBYGEMS_RELEASE_URL }
8486
}
8587
}

0 commit comments

Comments
 (0)