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

Add support for specific build type and product flavor dependencies #135

Merged
merged 3 commits into from
Apr 23, 2020

Conversation

NMGuner
Copy link
Contributor

@NMGuner NMGuner commented Apr 17, 2020

Added support for specific build type and product flavor dependencies. Unfortunately, due to limitations of Android Library gradle plugin it is limited to a single flavor dimension. It will ignore flavor dependencies if there are multiple dimensions but default 'embed' and buildtype dependencies will still work. In any case, default 'embed' configuration is still available and working.

Example build type usage:
releaseEmbed project(path: ':lib-aar', configuration: 'default')

Example product flavor usage:
flavorNameEmbed project(path: ':lib-aar', configuration: 'default')

@kezong
Copy link
Owner

kezong commented Apr 20, 2020

cool! thanks for your pr.
Later I will test and merge it.

@kezong kezong merged commit 67e3d70 into kezong:master Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants