File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
jruby-gradle-base-plugin/src/main/groovy/com/github/jrubygradle Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import org.gradle.api.Project
13
13
class JRubyPlugin implements Plugin<Project > {
14
14
static final String TASK_GROUP_NAME = ' JRuby'
15
15
static final String RUBYGEMS_ORG_URL = ' https://rubygems.org'
16
+ static final String TORQUEBOX_RUBYGEMS_RELEASE_URL = ' http://rubygems-proxy.torquebox.org/releases'
16
17
static final String RUBYGEMS_RELEASE_URL = ' http://rubygems.lasagna.io/proxy/maven/releases'
17
18
static final String VERSION_PROPERTY = ' jrubyVersion'
18
19
@@ -80,6 +81,7 @@ class JRubyPlugin implements Plugin<Project> {
80
81
boolean setupRubygemsRelease (Project project ) {
81
82
if (! project. repositories. metaClass. respondsTo(project. repositories, ' rubygemsRelease' )) {
82
83
project. repositories. metaClass. rubygemsRelease << { ->
84
+ maven { url TORQUEBOX_RUBYGEMS_RELEASE_URL }
83
85
maven { url RUBYGEMS_RELEASE_URL }
84
86
}
85
87
}
You can’t perform that action at this time.
0 commit comments