the following code does run with 1.10 and previous but not with 1.11.
From my perspective the ext.modules declaration is implicitly added to project and will be read from project again? But now it complains about missing ext property. Thank you, David
I don’t know about the change, but ‘ext.’ should only be used when defining an extra property, not when reading it. Also, I would only use it for “public” properties. In the case above, a simple ‘def modules =’ would do.
In Gradle 1.11, the ‘dependencies’ object now has its own ‘ext’ space. This means using ‘ext’ in that block now refers to this space and not the project space which is what you need in your example. This was an unintended change in Gradle 1.11.