[Gradle/MPP] Update message about missing android target
#KT-57903 In Progress
This commit is contained in:
committed by
Space Team
parent
5eaa6696f4
commit
65ffdb418a
+3
-3
@@ -51,8 +51,8 @@ internal fun Project.runMissingAndroidTargetProjectConfigurationHealthCheck(
|
|||||||
|
|
||||||
warningLogger(
|
warningLogger(
|
||||||
"""
|
"""
|
||||||
Missing 'android()' Kotlin target in multiplatform project ${project.name} (${project.path})'.
|
Missing 'androidTarget()' Kotlin target in multiplatform project ${project.name} (${project.path})'.
|
||||||
The Android Gradle plugin was applied without creating a corresponding 'android()' Kotlin Target:
|
The Android Gradle plugin was applied without creating a corresponding 'androidTarget()' Kotlin Target:
|
||||||
|
|
||||||
```
|
```
|
||||||
plugins {
|
plugins {
|
||||||
@@ -61,7 +61,7 @@ internal fun Project.runMissingAndroidTargetProjectConfigurationHealthCheck(
|
|||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
android() // <-- please register this Android target
|
androidTarget() // <-- please register this Android target
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user