https://dl.dropboxusercontent.com/u/646106/gradle-run-1.txt has the results of running ‘gradle -a test --configure-on-demand -debug’ in one of 495 submodules of a gradle build, which fails with the error: Configuration with name ‘default’ not found
This build is the result of a conversion from a rather convoluted ant build, and the complications have us turning transitive dependencies off for building, but turning it on for running unit tests.
We’d noticed that every single build insisted on configuring all 495 projects, even when building just one, so made a change intended to take advantage of --configure-on-demand. Now we get this failure, whether or not that flag is set.
So I would like to know what is wrong, and if there is a better way to handle building individual modules without incurring the cost of configuring them all.