Skip to content

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