Kotlin / kotlinx-kover

Apache License 2.0
1.27k stars 47 forks source link

Fixed error: Kover requires extension with name 'androidComponents' #552

Closed shanshin closed 3 months ago

shanshin commented 3 months ago

In older versions of AGP (lower than 7.0), the androidComponents project extension did not exist and this is the expected situation. However, in the current implementation, in the absence of this extension, the KoverCriticalException error was thrown.

In this case, it is necessary not to throw an error, but execute fallback branch

Fixes #520