Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add filter for bytecode generated by Compose Kotlin compiler plugin #1616

Merged
merged 3 commits into from May 4, 2024

Conversation

Godin
Copy link
Member

@Godin Godin commented May 3, 2024

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

./gradlew build jacocoTestReport

before this change produces

before1 before2

and with this change installed into local Maven repository produces

after1 after2

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

@Godin Godin self-assigned this May 3, 2024
@Godin Godin added this to Implementation in Current work items via automation May 3, 2024
@Godin Godin added this to the 0.8.13 milestone May 3, 2024
@Godin Godin changed the title Add filter for bytecode generated by Compose Kotlin Compiler Plugin Add filter for bytecode generated by Compose Kotlin compiler plugin May 3, 2024
@Godin Godin marked this pull request as ready for review May 3, 2024 18:38
@Godin Godin moved this from Implementation to Review in Current work items May 3, 2024
@Godin Godin requested a review from marchof May 3, 2024 18:38
Copy link
Member

@marchof marchof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two compiler warnings in the unit test on modern JDKs that could be fixed.

Co-authored-by: Marc R. Hoffmann <hoffmann@mountainminds.com>
@marchof
Copy link
Member

marchof commented May 4, 2024

Looks like the Azure pipeline had a network failure:

Caused by: org.apache.maven.wagon.TransferFailedException: GET request of: org/codehaus/plexus/plexus-utils/3.5.1/plexus-utils-3.5.1.jar from central failed
    at org.apache.maven.wagon.AbstractWagon.getTransfer (AbstractWagon.java:413)

@Godin Godin enabled auto-merge (squash) May 4, 2024 10:13
@Godin Godin merged commit 7ab41d1 into jacoco:master May 4, 2024
28 checks passed
Current work items automation moved this from Review to Done May 4, 2024
@Godin Godin deleted the filter_kotlin_compose branch May 4, 2024 10:17
@Godin
Copy link
Member Author

Godin commented May 4, 2024

Passed after restart 😉

@Godin
Copy link
Member Author

Godin commented May 11, 2024

Also, I propose to create a repository based on this example with Cl build that will act as a validation test.

@marchof I assume that silence gives consent - https://github.com/jacoco/example-jacoco-kotlin-compose 😉

@marchof
Copy link
Member

marchof commented May 12, 2024

Sorry, I overlooked this comment. Sure, thanks for creating the repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

Jacoco reports low coverage with Compose tests
2 participants