You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by cc...@apache.org on 2017/12/12 07:08:22 UTC
groovy git commit: Properly fix `compileTestExtensionModule`
Repository: groovy
Updated Branches:
refs/heads/master 78254249b -> dc30ad7d1
Properly fix `compileTestExtensionModule`
Sources should never be on compile classpath. The problem was a missing task dependency,
which is automatically inferred by Gradle if you depend on a task.
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/dc30ad7d
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/dc30ad7d
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/dc30ad7d
Branch: refs/heads/master
Commit: dc30ad7d1800e58baf8c2d8180a58b0965ebf50b
Parents: 7825424
Author: Cedric Champeau <cc...@apache.org>
Authored: Tue Dec 12 08:07:20 2017 +0100
Committer: Cedric Champeau <cc...@apache.org>
Committed: Tue Dec 12 08:07:20 2017 +0100
----------------------------------------------------------------------
gradle/test.gradle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/dc30ad7d/gradle/test.gradle
----------------------------------------------------------------------
diff --git a/gradle/test.gradle b/gradle/test.gradle
index 4415faf..df0ff06 100644
--- a/gradle/test.gradle
+++ b/gradle/test.gradle
@@ -134,7 +134,7 @@ ext.extModuleOutputDir = file("$buildDir/testFixtures/extmodule")
ext.extModuleRepoDir = file("$extModuleOutputDir/repo")
task compileTestExtensionModule(type: JavaCompile) {
- classpath = files(jar.archivePath) + sourceSets.main.runtimeClasspath
+ classpath = files(jar)
source fileTree("$extModuleFixtureDir/src/main/java")
destinationDir = file("$extModuleOutputDir/classes")
sourceCompatibility = 1.6