Yes, I am trying to execute from the ProjectBuild directory. Originally,
everything was working with the first layout I described (and had been since
gradle 0.3), with the top-level build.gradle and settings.gradle in the main
project directory, and subproject build scripts in their respective
subdirectories.
Then, trying to take advantage of arbitrary multi-project layouts, I moved
the top-level files into the ProjectBuild directory, which is on the same
level as the subproject directories. I just want to keep the top-level
build files in a separate cvs module with some other files.
From:
-D Project
-D SubProject1
-F build.gradle
-D SubProject2
-F build.gradle
-F build.gradle
-F settings.gradle
to:
-D Project
-D SubProject1
-F build.gradle
-D SubProject2
-F build.gradle
-D ProjectBuild
-F build.gradle (this is virtually the top-level script which defines
a lot of behavior for subprojects)
-F settings.gradle
And the build didn't start until I changed the top-level build.gradle line:
include 'SubProject1', 'SubProject2' //in the original script
to:
includeFlat 'SubProject1', 'SubProject2' //in the new script, within
ProjectBuild
And now I get the error. I agree that the plugins do not seem to be in the
classpaths of the build.gradle files (note: each subproject's build.gradle
file also uses a plugin declared in the settings.gradle file).
--
View this message in context:
http://www.nabble.com/arbitrary-multi-project-layouts-tp21294101p21424667.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email