We have recently migrated our multi-module server application to Gradle for handling the build. The gradle set up tests and builds fine on local machiens & on EC2, but is failing on CircleCI with quite a strange error:
“Could not resolve all dependencies for configuration ‘detachedConfiguration15’.”, followed by:
“Module version za.org.grassroot:grassroot-webapp:1.0.0.M2, configuration ‘detachedConfiguration15’ declares a dependency on configuration ‘default’ which is not declared in the module descriptor for za.org.grassroot:grassroot-webapp:1.0.0.M2”
This is quite strange because nowhere in our build.gradle do we define a detachedConfiguration.
Note: we run gradle dependencies for the dependency stage and gradle test for the test, as standard.
Is this something to do with the build environment’s Gradle setup?