Skip to content

Commit 0c0fe93

Browse files
committed
Restructured JRubyJarTestKitSpec
1 parent ed72160 commit 0c0fe93

File tree

7 files changed

+219
-198
lines changed

7 files changed

+219
-198
lines changed

jar-plugin/.gitignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

jar-plugin/.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

jar-plugin/appveyor.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

jar-plugin/build.gradle

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11

22

3-
3+
ext {
4+
testRepoDir = new File(buildDir,'tmp/test/repo' )
5+
}
46

57
configurations {
68
testRepo
79
/* this configuration is to dump old versions of things into the flatrepo */
810
testRepoOldFiles
911
}
1012

13+
generateTestConfig {
14+
testProperties mavenrepo: new File(project(':jruby-gradle-plugin').projectDir,'src/integTest/mavenrepo').absolutePath,
15+
flatrepo: testRepoDir.absolutePath
16+
}
17+
1118
dependencies {
1219
compile project(':jruby-gradle-plugin')
13-
compile 'com.github.jengelman.gradle.plugins:shadow:[1.2.2,2.0)'
20+
compile 'com.github.jengelman.gradle.plugins:shadow:[1.2.2,2.0)' // NEED TO FIX THIS OPEN END
1421

1522
testCompile (spockVersion) {
1623
exclude module : 'groovy-all'
@@ -44,9 +51,6 @@ dependencies {
4451
}
4552
}
4653

47-
ext {
48-
testRepoDir = new File(buildDir,'tmp/test/repo' )
49-
}
5054

5155
task prepareTestRepo( type : Copy ) {
5256
into testRepoDir

0 commit comments

Comments
 (0)