In Gradle, how can I determine if a particular target is disabled in a multiplatform project? For example, if I'm compiling on Windows, iOS targets won't be available. So I want to detect and avoid configuring an iOS-specific task that calls xcrun in this situation.
09/11/2019, 1:11 PM
Yes, you can use
right from Gradle
09/12/2019, 11:51 AM
Thanks - using HostManager.hostIsMac seems to work well enough.