Eventually figured it out. You are facing a Groovy limitation. If a method
defined like so:

def foo(int[] args) { ... }

is invoked like so:

foo(1,2,3,4, ...)

Then you can't have more than 255 method arguments.

A simple workaround is to do the following in your settings.gradle:

include "foo"
include "bar"
include "baz"
...

If you have a Gradle build with more than 255 subprojects (and for a good
reason), it might be time to think about other ways than to list each
subproject explicitly. For example, you could scan the root project
directory for subprojects.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradle Inc.
http://www.gradle.biz
Creator, Spock Framework
http://spockframework.org

-- 
View this message in context: 
http://gradle.1045684.n5.nabble.com/The-maximum-number-of-directories-in-a-multi-project-envriontment-tp3387250p3388036.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


Reply via email to