Closed aegershman closed 2 years ago
build: gradle wrapper 7.3.3
Remove the pinning of groovy 3.0.8, because in gradle 7.3.3, groovy 3.0.9 is used: https://docs.gradle.org/current/userguide/upgrading_version_7.html#changes_7.3
When there's mismatching versions of groovy, these kinds of errors crop up in the spock tests:
RewriteDiscoverTest > initializationError FAILED org.spockframework.util.InternalSpockError at PlatformSpecRunner.java:80 Caused by: java.lang.ExceptionInInitializerError at InvokerHelper.java:88 Caused by: groovy.lang.GroovyRuntimeException at MetaClassRegistryImpl.java:510 RewriteDryRunTest > initializationError FAILED org.spockframework.util.InternalSpockError at PlatformSpecRunner.java:80 Caused by: java.lang.NoClassDefFoundError at NativeConstructorAccessorImpl.java:-2 RewriteMetricsPluginTests > initializationError FAILED org.spockframework.util.InternalSpockError at PlatformSpecRunner.java:80 Caused by: java.lang.NoClassDefFoundError at NativeConstructorAccessorImpl.java:-2 RewriteRunTest > initializationError FAILED org.spockframework.util.InternalSpockError at PlatformSpecRunner.java:80 Caused by: java.lang.NoClassDefFoundError at NativeConstructorAccessorImpl.java:-2 4 tests completed, 4 failed
Getting rid of this entire section below works out just fine, since the testimplementation dependency on gradle itself now is being fed groovy 3.0.9.
build: gradle wrapper 7.3.3
Remove the pinning of groovy 3.0.8, because in gradle 7.3.3, groovy 3.0.9 is used: https://docs.gradle.org/current/userguide/upgrading_version_7.html#changes_7.3
When there's mismatching versions of groovy, these kinds of errors crop up in the spock tests:
Getting rid of this entire section below works out just fine, since the testimplementation dependency on gradle itself now is being fed groovy 3.0.9.