groovy / groovy-android-gradle-plugin

A Gradle plugin to support the Groovy language for building Android apps
Apache License 2.0
850 stars 116 forks source link

Could not write message ChannelMessage #165

Closed mzgreen closed 6 years ago

mzgreen commented 6 years ago

After updating to 2.0.0 I'm getting

* What went wrong:
Execution failed for task ':common:compileDebugUnitTestGroovyWithGroovyc'.
> Could not write message [ChannelMessage channel: org.gradle.process.internal.worker.request.RequestProtocol, payload: [MethodInvocation method: run(execute, [Ljava.lang.Class;@4e553318, [Ljava.lang.Object;@4a6abe0a, 7840)]] to '/0:0:0:0:0:0:0:1:65141'.
   > org.gradle.api.internal.artifacts.configurations.DefaultConfiguration$ConfigurationFileCollection

when running ./gradlew testDebug. I'm using Groovy+Spock for Unit Tests and my project is written in Kotlin and uses AnnotationProcessors such as Dagger 2.

AndrewReitz commented 6 years ago

What version of Gradle are you using? I would recommend upgrading to 4.3 and trying again.

mzgreen commented 6 years ago

That was it, I was on 4.1 thank you!