Caused by: java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.DefaultGroovyMethods.each(Ljava/util/Set;Lgroovy/lang/Closure;)Ljava/util/Set;
at ru.d10xa.allure.AllurePlugin.applyAspectjweaver(AllurePlugin.groovy:66)
at ru.d10xa.allure.AllurePlugin.access$2(AllurePlugin.groovy)
at ru.d10xa.allure.AllurePlugin$_apply_closure1.doCall(AllurePlugin.groovy:26)
at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40)
at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25)
at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83)
... 43 more
I get the following error. Any solution is appreciated.
My config: buildscript { repositories { jcenter() } dependencies { classpath "ru.d10xa:gradle-allure-plugin:0.5.1" } }
apply plugin: 'ru.d10xa.allure'
allure { aspectjweaver = true testNG = true
}
Error:
Caused by: java.lang.NoSuchMethodError: org.codehaus.groovy.runtime.DefaultGroovyMethods.each(Ljava/util/Set;Lgroovy/lang/Closure;)Ljava/util/Set; at ru.d10xa.allure.AllurePlugin.applyAspectjweaver(AllurePlugin.groovy:66) at ru.d10xa.allure.AllurePlugin.access$2(AllurePlugin.groovy) at ru.d10xa.allure.AllurePlugin$_apply_closure1.doCall(AllurePlugin.groovy:26) at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:40) at org.gradle.listener.ClosureBackedMethodInvocationDispatch.dispatch(ClosureBackedMethodInvocationDispatch.java:25) at org.gradle.listener.BroadcastDispatch.dispatch(BroadcastDispatch.java:83) ... 43 more