This repository was archived by the owner on May 19, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
main/groovy/com/github/jrubygradle/jar
test/groovy/com/github/jrubygradle/jar Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ configurations {
28
28
dependencies {
29
29
compile gradleApi()
30
30
compile localGroovy()
31
- compile ' com.github.jruby-gradle:jruby-gradle-plugin:0.1.1 '
31
+ compile ' com.github.jruby-gradle:jruby-gradle-plugin:0.1.2 '
32
32
33
33
testCompile (" org.spockframework:spock-core:0.7-groovy-${ gradle.gradleVersion.startsWith('1.')?'1.8':'2.0'} " ) {
34
34
exclude module : ' groovy-all'
35
35
}
36
- testWarbler group : ' com.lookout' , name : ' warbler-bootstrap' , version : ' 1.+ '
36
+ testWarbler group : ' com.lookout' , name : ' warbler-bootstrap' , version : ' 1.0.0 '
37
37
38
38
}
39
39
Original file line number Diff line number Diff line change 1
1
package com.github.jrubygradle.jar
2
2
3
- import com.github.jrubygradle.jar.JRubyJarConfigurator
3
+ import com.github.jrubygradle.internal.WarblerBootstrap
4
4
import org.gradle.api.Plugin
5
5
import org.gradle.api.Project
6
6
import org.gradle.api.Task
@@ -14,15 +14,7 @@ class JRubyJarPlugin implements Plugin<Project> {
14
14
void apply (Project project ) {
15
15
16
16
project. apply plugin : ' com.github.jruby-gradle.base'
17
-
18
17
project. configurations. maybeCreate(' jrubyEmbeds' )
19
- project. configurations. maybeCreate(' testGems' )
20
- project. configurations. maybeCreate(' runtimeGems' )
21
-
22
- // TODO: This is currently fixed. Really need to find a way to allow user to configure the version
23
- project. dependencies {
24
- jrubyEmbeds group : ' com.lookout' , name : ' warbler-bootstrap' , version : ' 1.0.0'
25
- }
26
18
27
19
// In order to update the testing cycle we need to tell unit tests where to
28
20
// find GEMs. We are assuming that if someone includes this plugin, that they
@@ -52,6 +44,7 @@ class JRubyJarPlugin implements Plugin<Project> {
52
44
}
53
45
54
46
project. afterEvaluate {
47
+ WarblerBootstrap . addDependency(project)
55
48
JRubyJarConfigurator . afterEvaluateAction(project)
56
49
}
57
50
}
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ class JRubyJarPluginSpec extends Specification {
134
134
project. with {
135
135
jruby {
136
136
defaultRepositories = false
137
+ warblerBootstrapVersion = ' 1.0.0'
137
138
}
138
139
repositories {
139
140
ivy {
You can’t perform that action at this time.
0 commit comments