From d47c934650540277c911514d4cf7ddf55a69492a Mon Sep 17 00:00:00 2001 From: Rene Groeschke Date: Sat, 21 Nov 2015 00:59:06 +0000 Subject: create frege compile task per sourceSet --- .../groovy/frege/plugin/FregePluginIntegTest.groovy | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/integTest/groovy/frege') 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 -- cgit