Hrm.. so that is nice (and useful for other things).. I have:
$project
$project/webapp/api
$project/webapp/ui
So what you have provided here,is how to prevent gradle from "doing stuff on
webapp"
But in my case, what i'm trying to figure out, is how to do "everything in
subprojects on ui, except *just* apply plugin: 'java'
(like if I define a variable of things that I want all subprojects to do..
report the newest and older timestamp of any file in the tree -- just making
this up)
THAT I'd love to have stick around, but I see no reason to apply plugin: java
to ui, since it is pure html/css/js
I guess I just have to change how I use gradle.. maybe do a direct
project(:webapp:api) { } and project(:webapp:ui) { }
But doing that, means I have to do that for ALL the sub projects, and 100%
abandon the use of subproject { }
(note, that above project structure is greatly minimized just for illustrate
those modules)
Thanks though, for the tidbit on FULLY excluding something from the generic
subprojects call
Roger
On Oct 25, 2010, at 9:25 AM, Tomek Kaczanowski wrote:
> Roger,
>
> please see this post:
> http://gradle.1045684.n5.nabble.com/disable-container-folders-from-building-in-deep-multiproject-structures-td2805671.html#a2805764
>
> --
> Regards / Pozdrawiam
> Tomek Kaczanowski
>
>
>
> 2010/10/25 Roger Studner <[email protected]>:
>> Probably a simple one.. just can't find an example.
>>
>> if I have:
>>
>> subprojects {
>> apply plugin: 'java'
>> }
>>
>> because.. well.. I have like 7 subprojects.. but *2* of them are not java
>> (at all).
>>
>> Can I exclude them?
>>
>> (note, since there is no src/main/java in them, technically this doesn't
>> hurt)
>>
>> I'm just trying to increase the public repo of gradle lore :)
>>
>> Roger
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>> http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email