Davide Giuseppe Farella
09/06/2020, 7:22 AMgradle.settings.kts
, but the following problem:
• Android Studio doesn’t work well with multiplatform projects yet
• Cannot use IntelliJ because I got an Android module with Compose and AGP 4.2, so I got This version of the Android Support plugin for IntelliJ IDEA (or Android Studio) cannot open this project, please retry with version 4.2 or newer.
So I’d like to exclude that Android module when I’m on IntelliJDavide Giuseppe Farella
09/06/2020, 7:49 AMfun isIntelliJ() =
System.getenv("__CFBundleIdentifier") == "com.jetbrains.intellij"
cristiangm
09/07/2020, 7:48 AMif (settings.extra.has("android.injected.invoked.from.ide")) {
tag("Android Studio")
} else if (System.getenv("XPC_SERVICE_NAME")?.contains("intellij") == true) {
tag("IntelliJ IDEA")
} else if (System.getProperty("eclipse.buildId") == "true") {
tag("Eclipse")
} else if (!isCI) {
tag("Cmd Line")
}
Davide Giuseppe Farella
09/07/2020, 8:00 AMcristiangm
09/08/2020, 7:11 AMcristiangm
09/08/2020, 7:11 AMDavide Giuseppe Farella
09/08/2020, 7:14 AMcristiangm
09/09/2020, 3:38 PMlouiscad
09/11/2020, 8:47 PM