Add filter for bytecode generated by Compose Kotlin compiler plugin#1616
Add filter for bytecode generated by Compose Kotlin compiler plugin#1616Godin merged 3 commits intojacoco:masterfrom
Conversation
8b0a9fc to
d994109
Compare
d994109 to
c1c7d58
Compare
c1c7d58 to
287986c
Compare
marchof
left a comment
There was a problem hiding this comment.
There are two compiler warnings in the unit test on modern JDKs that could be fixed.
org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/KotlinComposeFilterTest.java
Outdated
Show resolved
Hide resolved
org.jacoco.core.test/src/org/jacoco/core/internal/analysis/filter/KotlinComposeFilterTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Marc R. Hoffmann <hoffmann@mountainminds.com>
|
Looks like the Azure pipeline had a network failure: |
|
Passed after restart 😉 |
@marchof I assume that silence gives consent - https://github.com/jacoco/example-jacoco-kotlin-compose 😉 |
|
Sorry, I overlooked this comment. Sure, thanks for creating the repo. |
|
Hi, @Godin when this fix will be available in the next release? Thanks |
|
@Godin This is a very important fix for Android projects using Jacoco. Can we please release this to the stable version? |
|
See FAQ https://www.jacoco.org/jacoco/trunk/doc/faq.html
|
There is no validation test because there is no official way to use Kotlin Compose Compiler Plugin from Maven.
However here is example.zip for which execution of
before this change produces
and with this change installed into local Maven repository produces
Also, I propose to create a repository based on this example with Cl build that will act as a validation test.
Fixes #1208
Closes #1259