-
Notifications
You must be signed in to change notification settings - Fork 53
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
Android 'debug' variant not found in KMM + Android project #388
Comments
I saw that issue and tried to put all the |
Yes, most likely a duplicate
@alvr, @sabufung30, сould you change the configuration so that the kover plugin is applied only after the android plugin? In this case, the Android plugin will create build variants before the Kover plugin starts searching for them. |
@sabufung30 the order of applying of plugins is important. By moving the configuration from |
Closing as a duplicate. |
Describe the bug
When applying the plugin to the root project and specified subprojects, and using
mergeWith
in the default configuration, it throws and exception that the 'debug' Android variant was not found. Kover executes the tests that are injvmTest
source set (nocommonTest
yet), I suppose that when usingmergeWith
with the Android variant will execute also the tests inandroidTest
andcommonTest
.Errors
Android build variant 'debug' was not found - it is impossible to add it to the default report
Expected behavior
Include the debug variant of Android in a KMM project.
Reproducer
The configuration of Kover is here, and the only variants the project has are 'debug', 'beta' and 'release'. The full project is in feature/kmm/stable.
Environment
The text was updated successfully, but these errors were encountered: