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
The sonaqube plugin attempts to access the compiler args here, but expects a List<String>.
The mixingradle plugin sets compiler args here using a GString template.
Usually groovy should automatically call toString on them, but for some reason it does not seem to do it here, because the compiler arguments contain objects of type GString when inspected in the debugger.
This can also only be recreated on the first run and can be reproduced by applying both the mixingradle and the sonarqube plugin and running clean build sonar.
A call to toString on all template strings that are appended to the compiler args could solve this problem
The text was updated successfully, but these errors were encountered:
When using together with the sonarqube plugin, a
ClassCastException
is thrown:The sonaqube plugin attempts to access the compiler args here, but expects a
List<String>
.The mixingradle plugin sets compiler args here using a
GString
template.Usually groovy should automatically call
toString
on them, but for some reason it does not seem to do it here, because the compiler arguments contain objects of typeGString
when inspected in the debugger.This can also only be recreated on the first run and can be reproduced by applying both the mixingradle and the sonarqube plugin and running
clean build sonar
.A call to
toString
on all template strings that are appended to the compiler args could solve this problemThe text was updated successfully, but these errors were encountered: