[build] Support both configuring Android targets by Android SDK or JVM

- try to fix sdk dir when android is desired
- Do not printAndroidNotInstalled multiple times
This commit is contained in:
Him188
2023-04-21 10:59:48 +01:00
parent 2cf97a181f
commit 4ed551027a
9 changed files with 333 additions and 233 deletions

View File

@@ -64,13 +64,6 @@ kotlin {
}
}
findByName("androidMain")?.apply {
dependencies {
compileOnly(`android-runtime`)
// api1(`ktor-client-android`)
}
}
findByName("jvmMain")?.apply {
}