Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide more information about source set's target / platform #2906

Open
IgnatBeresnev opened this issue Mar 8, 2023 · 1 comment
Open
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

Comments

@IgnatBeresnev
Copy link
Member

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 include iOS, 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.

@IgnatBeresnev IgnatBeresnev added 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 labels Mar 8, 2023
@IgnatBeresnev
Copy link
Member Author

IgnatBeresnev commented Mar 8, 2023

Internal use cases for the Android target/platform:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant