We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a33531 commit afeac1aCopy full SHA for afeac1a
buildSrc/public/src/main/kotlin/androidx/build/Multiplatform.kt
@@ -39,7 +39,7 @@ class Multiplatform {
39
*/
40
@JvmStatic
41
fun isKotlinNativeEnabled(project: Project): Boolean {
42
- return System.getenv()["ANDROIDX_PROJECTS"] == "KMP" ||
+ return "KMP".equals(System.getenv()["ANDROIDX_PROJECTS"], ignoreCase = true) ||
43
StudioType.isPlayground(project) ||
44
project.providers.gradleProperty("androidx.kmp.native.enabled")
45
.orNull?.toBoolean() == true
0 commit comments