According to stack trace Caused by: groovy.lang.GroovyRuntimeException: Conflicting module versions. Module [groovy-all is loaded in version 2.4.12 and you are trying to load version 2.4.15
this has nothing to do with JaCoCo project ( https://github.com/jacoco/jacoco ), which doesn't have any dependency on Groovy at all. Problems in third-party plugins / integrations should be reported to the developers of these integrations. Usage of Google ( http://lmgtfy.com/?q=jacoco+%22groovy-all+is+loaded+in+version+2.4.12+and+you+are+trying+to+load+version+2.4.15%22 ) for example reveals following issue in third-party project https://github.com/arturdm/jacoco-android-gradle-plugin/issues/59 On Tuesday, March 19, 2019 at 11:53:32 AM UTC+1, [email protected] wrote: > > Caused by: java.lang.ExceptionInInitializerError > > at > org.gradle.api.internal.classloading.GroovySystemLoaderFactory.forClassLoader(GroovySystemLoaderFactory.java:44) > > at > org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36) > > at > org.gradle.workers.internal.IsolatedClassloaderWorkerFactory$1.execute(IsolatedClassloaderWorkerFactory.java:75) > > at > org.gradle.workers.internal.DefaultWorkerExecutor$1.call(DefaultWorkerExecutor.java:102) > > ... 8 more > > Caused by: groovy.lang.GroovyRuntimeException: Conflicting module > versions. Module [groovy-all is loaded in version 2.4.12 and you are trying > to load version 2.4.15 > > > 在 2019年3月19日星期二 UTC+8下午6:50:59,Evgeny Mandrikov写道: >> >> Please provide full stack trace. >> >> On Tuesday, March 19, 2019 at 11:48:58 AM UTC+1, [email protected] >> wrote: >>> >>> After we upgrade the gradle plugin version number >>> >>> - Gradle wrapper 4.10.1 >>> - Android Gradle plugin 3.3.1 >>> >>> and used the jacoco version >>> >>> >>> jacoco { >>> >>> toolVersion = '0.8.3' >>> >>> } >>> >>> >>> the build the project,`./gradlew assembleDebug`, it reported that >>> ``` >>> Caused by: >>> org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A >>> failure occur while executing >>> com.android.build.gradle.internal.tasks.JacocoTaskDelegate$JacocoWorkerAction >>> ``` >>> >> -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/375dc20c-9032-4627-88f6-edfc7563ecc1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
