Hi Jerod,
great to hear from you again.
On Jan 5, 2009, at 5:24 PM, JerodLass wrote:
it's been a while, but...
I'm moving to 0.5 from 0.3 (with very little difficulty, I might
add) and
I'd like to take advantage of the arbitrary multi-project layouts.
As such,
I have changed:
-D Project
-D SubProject1
-D SubProject2
-F build.gradle
-F settings.gradle
to:
-D Project
-D SubProject1
-D SubProject2
-D ProjectBuild
-F build.gradle
-F settings.gradle
and I modified the settings.gradle file from include to
includeFlat. It
appears to find and run the files correctly, and my timestamp in the
settings file is printed, but by the time it gets to the
build.gradle file,
the usePlugin declaration for com.jerod.EARMainPlugin, which was
declared in
the settings file, throws an error: Property 'com' not found for
project :.
It is an interesting error message. Could you paste your settings
file. In general, the usePlugin declaration is only possible in the
build.gradle file. You can apply it to all projects by declaring in
the build.gradle of the ProjectBuild:
allprojects {
usePlugin('com.jerod.EARMainPlugin')
}
I am running the command "gradle clean libs" from the ProjectBuild
directory, but I would like to be able to run it from the Project root
directory because that would fit better with my CIS. At any rate,
how can I
change my settings or build file so the plugin declarations are
recognized?
You can do from Project:
gradle -pProjectBuild clean libs
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email