Update the documentation to properly include jcenter() when disabling default repos

Without this, the user won't be able to resolve jruby-complete or jruby-mains
This commit is contained in:
R. Tyler Croy 2015-09-21 09:31:51 -07:00
parent be37c455e9
commit 45520c046a
No known key found for this signature in database
GPG Key ID: 1426C7DC3F51E16F
2 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,8 @@ jruby {
}
repositories {
/* use jcenter() so we can get JRuby itself */
jcenter()
/* use our new rubygems() function to add a rubygems repo */
rubygems('https://rubygems.org')
}

View File

@ -218,6 +218,7 @@ apply plugin: 'com.github.jruby-gradle.base'
jruby.defaultRepositories false
repositories {
jcenter()
rubygems('https://rubygems.org')
}