Closed ghost closed 6 years ago
It's difficult to split the Gradle 4.x problem in two separate issues, because in both cases you have to deal with the classesDir / classesDirs problem.
To get started do the following:
replace all occurences of classesDir
with classesDirs
in build.gradle.
replace all occurrences of
classpath files('../../../../build/classes/main')
with
classpath files('../../../../build/classes/java/main', '../../../../build/classes/groovy/main')
in all gradle files under src/integTest/projects.
You can see the above changes in this commit on my fork.
These modifications eliminate the classpath problem, but you will still have 3 tests that fail with the error message 'Directory does not exist'.
From this point, you can start updating the plugin to support Gradle 4.x projects. Thank you for taking the time to tackle this issue. I really miss this feature and I'm pretty sure I'm not the only one.
Closing as duplicate of issue #91
FYI, I released v2.2.0 with Gradle 4.x support. Try it out and let me know how it works for you.
In order to update the plugin to support Gradle 4.x projects, this project should be updated to use Gradle 4.x
I have started a branch on my fork to address this but I am struggling with the classpath settings for the integration tests. Any assistance or pointers is appreciated.