diff options
author | Rene Groeschke <rene@gradle.com> | 2015-11-21 00:59:06 +0000 |
---|---|---|
committer | Rene Groeschke <rene@gradle.com> | 2015-11-21 00:59:30 +0000 |
commit | d47c934650540277c911514d4cf7ddf55a69492a (patch) | |
tree | 600a74141be47081049f1441de260f09436d17cb /src/integTest/groovy/frege | |
parent | b53817cd366bdd15ec142fc880fe68c7e5ea00a1 (diff) | |
download | frege-gradle-plugin-d47c934650540277c911514d4cf7ddf55a69492a.tar.gz frege-gradle-plugin-d47c934650540277c911514d4cf7ddf55a69492a.tar.bz2 frege-gradle-plugin-d47c934650540277c911514d4cf7ddf55a69492a.zip |
create frege compile task per sourceSet
Diffstat (limited to 'src/integTest/groovy/frege')
-rw-r--r-- | src/integTest/groovy/frege/plugin/FregePluginIntegTest.groovy | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/integTest/groovy/frege/plugin/FregePluginIntegTest.groovy b/src/integTest/groovy/frege/plugin/FregePluginIntegTest.groovy index a67620f..56c2eae 100644 --- a/src/integTest/groovy/frege/plugin/FregePluginIntegTest.groovy +++ b/src/integTest/groovy/frege/plugin/FregePluginIntegTest.groovy @@ -58,7 +58,7 @@ class FregePluginIntegTest extends Specification { } @Unroll - def "can compile and run frege code"() { + def "can compile and run frege code (gradle: #gradleVersion, frege: #fregeVersion)"() { given: buildFile << """ dependencies { @@ -66,6 +66,9 @@ class FregePluginIntegTest extends Specification { } task sayHello(type: JavaExec){ + doFirst { + println classpath.files + } classpath = sourceSets.main.runtimeClasspath main = 'HelloFrege' } @@ -86,8 +89,8 @@ main _ = do when: def result = GradleRunner.create() .withGradleVersion(gradleVersion) - .withProjectDir(testProjectDir.root) - .withArguments('sayHello') + .withDebug(true).withProjectDir(testProjectDir.root) + .withArguments('sayHello', '--stacktrace', '-i') .withPluginClasspath(pluginClasspath) .build() @@ -98,8 +101,8 @@ main _ = do where: fregeVersion | gradleVersion DEFAULT_FREGE_VERSION | "2.9" - DEFAULT_FREGE_VERSION | "2.8" - "3.22.367-g2737683" | "2.9" - "3.22.367-g2737683" | "2.8" +// DEFAULT_FREGE_VERSION | "2.8" +// "3.22.367-g2737683" | "2.9" +// "3.22.367-g2737683" | "2.8" } }
\ No newline at end of file |