Revert android exclusion, we'll just point sdk to nonexisting folder and that should be enough
This commit is contained in:
parent
887c52a319
commit
2e71214914
@ -37,11 +37,7 @@ fun getHostArchitecture(): String {
|
||||
return resolvedArch
|
||||
}
|
||||
|
||||
fun rootRunningOnLinuxx86_64(block: () -> Unit) {
|
||||
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {
|
||||
block()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
fun KotlinMultiplatformExtension.isRunningInIdea(block: KotlinMultiplatformExtension.() -> Unit) {
|
||||
if (isInIdea()) {
|
||||
|
@ -57,8 +57,7 @@ version = ReleaseInfo.version
|
||||
|
||||
val ideaActive = isInIdea()
|
||||
println("Idea active: $ideaActive")
|
||||
rootRunningOnLinuxx86_64 {
|
||||
android {
|
||||
android {
|
||||
compileSdkVersion(29)
|
||||
defaultConfig {
|
||||
minSdkVersion(24)
|
||||
@ -72,10 +71,10 @@ rootRunningOnLinuxx86_64 {
|
||||
isMinifyEnabled = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
kotlin {
|
||||
val hostOsName = getHostOsName()
|
||||
runningOnLinuxx86_64 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user