diff options
author | Mark Perry <maperry78+github@gmail.com> | 2015-09-22 13:47:48 +1000 |
---|---|---|
committer | Mark Perry <maperry78+github@gmail.com> | 2015-09-22 13:47:48 +1000 |
commit | 1cb9149b02e16200512e0da1d6e2ce617ddb375b (patch) | |
tree | c9b6c339f0a4b1df62ad7d95afcc68515ee18114 /src/main | |
parent | f59436a7c04d339b1a3265bc7523e1c35c0afb71 (diff) | |
download | frege-gradle-plugin-1cb9149b02e16200512e0da1d6e2ce617ddb375b.tar.gz frege-gradle-plugin-1cb9149b02e16200512e0da1d6e2ce617ddb375b.tar.bz2 frege-gradle-plugin-1cb9149b02e16200512e0da1d6e2ce617ddb375b.zip |
Added src build classes to classpath for frege test tasksource-path-experiment
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/groovy/frege/gradle/CompileTask.groovy | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |