You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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.
btw. We are using Scala 2.11 and scoverage 4.1.0
What can be done?
The text was updated successfully, but these errors were encountered:
The issue is a duplicate of olisikh/gradle-scalaxb-plugin#16 but it is not so actively maintained.
How to reproduce
I made those changes already on my master fork: https://github.com/atais/gradle-scalaxb-plugin/tree/master/example
Take demo project from gradle-scalaxb, add
scoverage
and then:will 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.btw. We are using Scala 2.11 and scoverage 4.1.0
What can be done?
The text was updated successfully, but these errors were encountered: