Hi,
I'm currently working on a build that uses a custom plugin/task which
resides in buildSrc/ and has its own build.gradle. I would like to do the
following in the root project's build.gradle:
ideaProject {
subprojects = [project(:buildSrc)]
}
But this fails:
* What went wrong:
A problem occurred evaluating root project 'xxx'.
Cause: Project with path ':buildSrc' could not be found in root project
'xxx'.
What can I do to work around this?
(Motivation: I am importing my default task class in build.gradle, which
does work. But IntelliJ Idea marks the import statement as an error, saying
(rightfully so) that it can't find the package. In my opinion, the desired
solution is to have the buildSrc/ tree as an extra Idea module.
Alternative/better solutions welcome.)
Thanks,
Urs