I would like to include different parts of a settings.gradle.kts file depending on whether a project is compiled with IntelliJ IDEA or Android Studio.
For my purposes, I only need to know if the project is compiled with Android Studio or not, as certain mobile-specific modules of the project can only be compiled with Android Studio.
Since the modules are distinguished in the settings gradle kotlin script file, I hope to find a solution where a simple if includes those modules accordingly. Thus far I've been commenting out the relevant modules when working in IDEA.