Status Update
Comments
lu...@gmail.com <lu...@gmail.com> #2
"We have an inline function in our base module that works and builds fine when we only use it in the base module, but when we use that function in another module we get a build error. If we remove the inline keyword it builds fine in the base and dependent modules."
uc...@google.com <uc...@google.com>
je...@google.com <je...@google.com> #3
leo, do you have a contact on the jacoco team ?
le...@google.com <le...@google.com> #5
(sorry for missing it earlier). I don't have any contact but it looks like it's already tracked with them?
Description
Android Plugin Version: 3.1.3
Module Compile Sdk Version: 26
Module Build Tools Version: 27.0.3
Android SDK Tools version: 26.1.1
When you are using Kotlin inline/crossinline function that is in another module, build with coverage fails with error:
> There was a failure while executing work items
> A failure occurred while executing com.android.build.gradle.internal.transforms.JacocoTransform$JacocoWorkerAction
Caused by: java.lang.IllegalStateException: Class com/example/frankkubista/testapplication/feature/MainActivity$onCreate$$inlined$onTextChange$1 is already instrumented.
Test project:
Stacktrace:
Original issue: