Patrick Cummins
08/16/2019, 10:23 AMrootProject.name = 'abc-service'
File abcFolder = new File("../abc-plugin")
if (statusFolder.exists()) {
includeBuild "../abc-plugin"
}
I cannot upgrade the plugin just yet as it is used by other Grails 3 services.
I cannot build my Grails 3 plugin with my Grails 4 service with Gradle 5, as it fails due to use of a deprecated / removed method 'getClassesDir' (which I believe is now getClassesDirs). This is the line in the Gradle 3 project causing the problem: apply plugin: "org.grails.grails-plugin", so it's outside of my control.
Is there a way around this? Full error:
FAILURE: Build failed with an exception.
* Where:
Build file '~/workspace/abc-plugin/build.gradle' line: 23
* What went wrong:
A problem occurred evaluating project ':abc-plugin'.
> Failed to apply plugin [id 'org.grails.grails-plugin']
> Could not get unknown property 'classesDir' for main classes of type org.gradle.api.internal.tasks.DefaultSourceSetOutput.