Skip to content

Commit e78abe3

Browse files
committed
Add 'provided' scope
1 parent 0c31592 commit e78abe3

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

build.gradle

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
buildscript {
2+
repositories { jcenter() }
3+
dependencies {
4+
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.5'
5+
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:1.12.+'
6+
}
7+
}
8+
19
apply plugin: 'groovy'
210
apply plugin: 'maven'
311
apply plugin: 'com.jfrog.bintray'
12+
apply plugin: 'provided-base'
413
apply from: 'gradle/integration-tests.gradle'
514

6-
// Pull in the bintray gradle plugin for uploading releases
7-
buildscript {
8-
repositories { jcenter() }
9-
dependencies { classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.5' }
10-
}
1115

1216
group = 'com.github.jruby-gradle'
1317
version = '0.1.2'
@@ -23,6 +27,7 @@ configurations {
2327
}
2428

2529
ext {
30+
jrubyVersion = '1.7.15'
2631
jrubyClassPathFromConfiguration = { Configuration cfg ->
2732
def f = cfg.files.find { it.name.startsWith('jruby-complete-') }
2833
return f?.absolutePath
@@ -39,7 +44,7 @@ project.afterEvaluate {
3944
// --- up to here
4045

4146
dependencies {
42-
testJRubyPrepare 'org.jruby:jruby-complete:1.7.15'
47+
testJRubyPrepare "org.jruby:jruby-complete:${jrubyVersion}"
4348
}
4449

4550

@@ -64,6 +69,8 @@ dependencies {
6469
integrationTestCompile (spockVersion) {
6570
exclude module : 'groovy-all'
6671
}
72+
73+
provided "org.jruby:jruby-complete:${jrubyVersion}"
6774
}
6875

6976
test {

0 commit comments

Comments
 (0)