* What went wrong:
A problem occurred configuring root project 'example'.
> Cannot change dependencies of dependency configuration ':scalaxb' after it has been included in dependency resolution.
resolution.
Stacktrace:
Caused by: org.gradle.api.InvalidUserDataException: Cannot change dependencies of dependency configuration ':caar-tito:scalaxb' after it has been included in dependency resolution.
...
at org.gradle.internal.metaobject.ConfigureDelegate.invokeMethod(ConfigureDelegate.java:56)
at com.github.alisiikh.scalaxb.ScalaxbPlugin$_createConfiguration_closure2$_closure6.doCall(ScalaxbPlugin.groovy:70)
My problem:
The issue is that I am using a multimodule project, where scoverage is applied to all modules and scalaxb only to some, resulting in the order causing problems.
Intro
After applying
scoverage
to theexample
projectwill work. But changing this order into:
results in a cryptic error:
Stacktrace:
My problem:
The issue is that I am using a multimodule project, where
scoverage
is applied to all modules andscalaxb
only to some, resulting in the order causing problems.What can be done? I am also going to link this to https://github.com/scoverage/gradle-scoverage project