File tree 2 files changed +4
-1
lines changed
kover-gradle-plugin/src/main/kotlin/kotlinx/kover/gradle/plugin/locators
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ internal fun Project.getKotlinExtension(): DynamicBean {
124
124
}
125
125
126
126
internal val Project .hasAnyAndroidPlugin: Boolean
127
- get() = pluginManager.hasPlugin(ANDROID_APP_PLUGIN_ID ) || pluginManager.hasPlugin(ANDROID_LIB_PLUGIN_ID )
127
+ get() = pluginManager.hasPlugin(ANDROID_APP_PLUGIN_ID ) || pluginManager.hasPlugin(ANDROID_LIB_PLUGIN_ID ) || pluginManager.hasPlugin( ANDROID_DYNAMIC_PLUGIN_ID )
128
128
129
129
internal const val ANDROID_APP_PLUGIN_ID = " com.android.application"
130
130
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ internal fun LocatorContext.initKotlinMultiplatformPluginLocator() {
26
26
project.pluginManager.withPlugin(ANDROID_LIB_PLUGIN_ID ) {
27
27
project.afterAndroidPluginApplied(::processWithAndroidTarget)
28
28
}
29
+ project.pluginManager.withPlugin(ANDROID_DYNAMIC_PLUGIN_ID ) {
30
+ project.afterAndroidPluginApplied(::processWithAndroidTarget)
31
+ }
29
32
30
33
project.afterEvaluate {
31
34
if (! hasAnyAndroidPlugin) {
You can’t perform that action at this time.
0 commit comments