Skip to content

Commit 5249a58

Browse files
committed
Move ruby.gems() first in order of documentation
1 parent d764de4 commit 5249a58

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

core-plugin/README.adoc

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,25 @@ plugins {
3030
[source,groovy]
3131
----
3232
repositories {
33-
ruby.mavengems() // <1>
34-
ruby.mavengems('https://foo.bar') // <2>
35-
ruby.mavengems('acme-rubygems', 'https://foo.bar') // <3>
36-
37-
ruby.gems() // <4>
38-
ruby.gems { // <5>
33+
ruby.gems() // <1>
34+
ruby.gems { // <2>
3935
prerelease = true
4036
}
41-
ruby.gems('https://foo.bar') // <6>
42-
ruby.gems('acme-rubygems', 'https://foo.bar') // <7>
37+
ruby.gems('https://foo.bar') // <3>
38+
ruby.gems('acme-rubygems', 'https://foo.bar') // <4>
39+
40+
ruby.mavengems() // <5>
41+
ruby.mavengems('https://foo.bar') // <6>
42+
ruby.mavengems('acme-rubygems', 'https://foo.bar') // <7>
4343
}
4444
----
45-
<1> Adds a Maven repository that uses the one official supported by the JRuby group. In order to use this, GEM dependencies should all be placed in the `rubygems` group.
46-
<2> Adds a custom Maven repository that will proxy a GEMs repository. In order to use this, GEM dependencies should all be placed in the `rubygems` group.
47-
<3> Adds a custom Maven repository that will proxy a GEMs repository, but allocate a custom dedicated Maven group. This is useful where you would want to use both the public repository and your own, but you want to save network query traffic, by only query repositories where you know the dependencies should exist.
48-
<4> Proxy rubygems.org directly and use `rubygems` as the Maven coordinate group.
49-
<5> Proxy rubygems.org directly and allow prerelease GEMs to be considered. Use `rubygems` as the Maven coordinate group.
50-
<6> Proxy a custom rubygems repository.
51-
<7> Proxy a custom rubygems repository and assign a custom Maven coordinate group.
45+
<1> Proxy rubygems.org directly and use `rubygems` as the Maven coordinate group.
46+
<2> Proxy rubygems.org directly and allow prerelease GEMs to be considered. Use `rubygems` as the Maven coordinate group.
47+
<3> Proxy a custom rubygems repository.
48+
<4> Proxy a custom rubygems repository and assign a custom Maven coordinate group.
49+
<5> Adds a Maven repository that uses the one official supported by the JRuby group. In order to use this, GEM dependencies should all be placed in the `rubygems` group.
50+
<6> Adds a custom Maven repository that will proxy a GEMs repository. In order to use this, GEM dependencies should all be placed in the `rubygems` group.
51+
<7> Adds a custom Maven repository that will proxy a GEMs repository, but allocate a custom dedicated Maven group. This is useful where you would want to use both the public repository and your own, but you want to save network query traffic, by only query repositories where you know the dependencies should exist.
5252

5353
== Advanced
5454

0 commit comments

Comments
 (0)