Revert android exclusion, we'll just point sdk to nonexisting folder and that should be enough
This commit is contained in:
2 files changed
+2
-7
No files matched your search
@@ -37,11 +37,7 @@ fun getHostArchitecture(): String {
|
|||||||
return resolvedArch
|
return resolvedArch
|
||||||
}
|
}
|
||||||
|
|
||||||
fun rootRunningOnLinuxx86_64(block: () -> Unit) {
|
|
||||||
if (getHostOsName() == "linux" && getHostArchitecture() == "x86-64") {
|
|
||||||
block()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fun KotlinMultiplatformExtension.isRunningInIdea(block: KotlinMultiplatformExtension.() -> Unit) {
|
fun KotlinMultiplatformExtension.isRunningInIdea(block: KotlinMultiplatformExtension.() -> Unit) {
|
||||||
if (isInIdea()) {
|
if (isInIdea()) {
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ version = ReleaseInfo.version
|
|||||||
|
|
||||||
val ideaActive = isInIdea()
|
val ideaActive = isInIdea()
|
||||||
println("Idea active: $ideaActive")
|
println("Idea active: $ideaActive")
|
||||||
rootRunningOnLinuxx86_64 {
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion(29)
|
compileSdkVersion(29)
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
@@ -73,7 +72,7 @@ rootRunningOnLinuxx86_64 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
|||||||
Reference in new issue
Block a user