Add a new KMP StudioType
This CL adds a new StudioType = KMP to include all KMP enabled project
(exclusing compose). We also turn on native build targets when it
is set.
This StudioType also enables native targets. It is rather temporary until
we have proper integration but the copy-pasta in build.gradle files was
growing big so I decided to add this as a temporary solution until we have
first class support in AndroidX infra for KMP projects.
Bug: n/a
Test: ANDROIDX_PROJECTS=kmp ./gradlew collection:collection:allTests
Change-Id: Ife91389cabb951fe32060d5e7ec126de1e0dc344
diff --git a/playground-common/androidx-shared.properties b/playground-common/androidx-shared.properties
index f0115ba..56b9011 100644
--- a/playground-common/androidx-shared.properties
+++ b/playground-common/androidx-shared.properties
@@ -80,4 +80,7 @@
androidx.kmp.js.enabled=false
# enable commonization for KMP projects
-kotlin.mpp.enableCInteropCommonization=true
\ No newline at end of file
+kotlin.mpp.enableCInteropCommonization=true
+
+# mac targets cannot be built on linux, suppress the warning.
+kotlin.native.ignoreDisabledTargets=true