From 1cb9149b02e16200512e0da1d6e2ce617ddb375b Mon Sep 17 00:00:00 2001 From: Mark Perry Date: Tue, 22 Sep 2015 13:47:48 +1000 Subject: Added src build classes to classpath for frege test task --- src/main/groovy/frege/gradle/CompileTask.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/groovy/frege/gradle/CompileTask.groovy b/src/main/groovy/frege/gradle/CompileTask.groovy index 60d7caf..07bc384 100644 --- a/src/main/groovy/frege/gradle/CompileTask.groovy +++ b/src/main/groovy/frege/gradle/CompileTask.groovy @@ -130,7 +130,8 @@ class CompileTask extends DefaultTask { def pf = project.files(project.configurations.compile) def path = pf.getAsPath() logger.info("Compile configuation as path: $path") - action.setClasspath(project.files(project.configurations.compile)) + + action.setClasspath(project.files(project.configurations.compile) + project.files(deduceClassesDir(project))) def args = [] if (help) { -- cgit