See:
Example 36.5. Defining common behaviour of all projects and subprojects
http://www.gradle.org/0.9.2/docs/userguide/userguide_single.html#multiprojectUseSubprojects

- Peace
Dave


On Mon, Mar 21, 2011 at 4:24 PM, phil swenson <[email protected]> wrote:
> perfect.  fixed.   thanks!
> On a related note.... every project we have (which will be dozens) is going
> to need a group of plugins like:
> apply plugin:  eclipse
> apply plugin:  idea
> etc
> Is there a good way to DRY this up?
>
> On Mon, Mar 21, 2011 at 3:50 PM, Adam Murdoch <[email protected]>
> wrote:
>>
>> On 22/03/2011, at 8:42 AM, phil swenson wrote:
>>
>> I'm trying to build the IDEA project/module files for a gradle project.
>> It's not building the .ipr file, it's only generating .iml files.
>> According to the doc on the Idea plugin there should be tasks for "idea,
>> cleanIdea, cleanIdeaProject, etc"
>> I type "gradle -t" and I get for the IDE tasks:
>> IDE tasks
>> ---------
>> cleanEclipse - Cleans all Eclipse files.
>> cleanIdea - Cleans IDEA project files (IML, IPR)
>> eclipse - Generates all Eclipse files.
>> idea - Generates IDEA project files (IML, IPR, IWS)
>>
>> I tried "gradle ideaProject" and get:
>> Task 'ideaProject' not found
>> gradle idea executes fine, but it just doesn't create .ipr files.
>> I am using gradle version Gradle 1.0-milestone-2-20110317112014-0600
>>
>> ideas?
>>
>> The idea plugin only adds 'ideaProject' when it is applied to the root
>> project. For all other projects, it only adds 'ideaModule'.
>>
>> --
>> Adam Murdoch
>> Gradle Developer
>> http://www.gradle.org
>> Co-Founder and VP of Engineering, Gradleware Inc. - Gradle Training,
>> Support, Consulting
>> http://www.gradleware.com
>>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to