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

Java test classes are not ignored in 0.2.0 #27

Closed
pavelreiter opened this issue Jan 17, 2022 · 2 comments
Closed

Java test classes are not ignored in 0.2.0 #27

pavelreiter opened this issue Jan 17, 2022 · 2 comments

Comments

@pavelreiter
Copy link

I have multimodule android project with library module which is mix of Kotlin and Java classes.
After update from 0.1.9 to 0.2.0 I have encountered issue that single Java test class is now being picked up as part of api and metalava check task fails.

I have tried adding used test annotations to hiddenAnnoation list but that also didn't help.

For now my workaround is to lower visibility of the test class.

@pavelreiter
Copy link
Author

It appears to be that this issue is on metalava side. Other possible workaround is also to convert the Java test class to Kotlin.

@tylerbwong
Copy link
Owner

Hey @pavelreiter, thanks for the bug report. I believe this actually was an issue that was introduced in 0.2.0 and I have pushed a fix. 0.2.1 will be released shortly!

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

No branches or pull requests

2 participants