Provide more information about source set's target / platform #2906
Labels
enhancement
An issue for a feature or an overall improvement
feedback: Google
An issue/PR submitted by colleagues at Google, most likely related to the Android API reference docs
It can be helpful for plugins to be able to differentiate between different targets, which are not necessarily a high-level platform - for example,
Android
is relevant for both the JVM and the Native (Android NDK) platforms.It might also be useful to provide further platform distinction within a higher level platform/target. For instance, the
Native
target can includeiOS
,macOS
,Linux
, etc.While at it, it'll be good to think about the naming - what should be called a target and what should be a platform, how not to confuse the two. It'd be ideal if our API was aligned with Kotlin's.
The scope of the issue can be reduced to providing the ability to differentiate between Android and non-Android projects / source sets - this was the initial request.
The text was updated successfully, but these errors were encountered: