File tree 5 files changed +17
-13
lines changed
examples/run-ruby-binscript
5 files changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ gemResolverStrategy {
63
63
excludeConfigurations 'foo', 'bar' // <1>
64
64
excludeModule 'foo.*' // <2>
65
65
excludeModule 'foo.*', /1\.2.*/ // <3>
66
- useGemVersionResolver 'gems2'
66
+ useGemVersionResolver 'gems2' // <4>
67
67
}
68
68
----
69
69
<1> Exclude configurations `foo` and `bar` from being considered for GEM resolver strategies.
Original file line number Diff line number Diff line change 1
1
base_url : http://jruby-gradle.org/
2
2
local_tz : UTC
3
- haml :
4
- :ugly : true
3
+ generation :
4
+ :in_threads : 0
5
5
asciidoctor :
6
6
:safe : unsafe
7
7
:base_dir : null
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ buildscript {
5
5
}
6
6
dependencies {
7
7
/* wow. so recursion */
8
- classpath " com.github.jruby-gradle:jruby-gradle-plugin:1 .1.1 "
8
+ classpath " com.github.jruby-gradle:jruby-gradle-plugin:2 .1.0-alpha.2 "
9
9
}
10
10
}
11
11
apply plugin : ' groovy'
@@ -18,14 +18,18 @@ configurations {
18
18
asciidoctor
19
19
}
20
20
21
- dependencies {
22
- asciidoctor( ' rubygems:awestruct:0.5.5 ' )
23
- asciidoctor( ' rubygems:coderay:1.1.0 ' )
21
+ repositories {
22
+ ruby . gems( )
23
+ }
24
24
25
- /* later versions of 1.6.x have a dependency incompatibility with
26
- * mime-types 2.x
27
- */
28
- asciidoctor(' rubygems:rest-client:1.6.7' ) { force = true }
25
+ dependencies {
26
+ asciidoctor(' rubygems:awestruct:0.6.6' )
27
+ asciidoctor(' rubygems:coderay:1.1.3' )
28
+ asciidoctor(' rubygems:http_parser.rb:0.6.0' )
29
+ asciidoctor(' rubygems:public_suffix:4.0.7' )
30
+ asciidoctor(' rubygems:spoon:0.0.6' )
31
+ asciidoctor(' rubygems:htmlcompressor:0.4.0' )
32
+ asciidoctor(' rubygems:uglifier:4.2.0' )
29
33
}
30
34
31
35
task prepareGroovyDocs (type : Copy ) {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ documentation intends only to cover the JRuby Gradle plugin's functionality.
16
16
[source,gradle]
17
17
.build.gradle
18
18
----
19
- include::../ examples/basic-topology.gradle[]
19
+ include::examples/basic-topology.gradle[]
20
20
----
21
21
22
22
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dependencies {
17
17
/* Using the built-in `gems` configuration to describe the
18
18
* dependencies our JRubyExec-based tasks will need.
19
19
*/
20
- gems " rubygems:asciidoctor:1.5.2 +"
20
+ gems " rubygems:asciidoctor:2.0.20 +"
21
21
}
22
22
23
23
task verifyAsciidoctorWorks (type : JRubyExec ) {
You can’t perform that action at this time.
0 commit comments