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

Fix intermediate deps for flavors other than debug. #40

Merged
merged 1 commit into from
Jul 27, 2018
Merged

Fix intermediate deps for flavors other than debug. #40

merged 1 commit into from
Jul 27, 2018

Conversation

hsanson
Copy link
Contributor

@hsanson hsanson commented Jul 27, 2018

Intermediate dependencies (e.g. R.class) were hard coded to the debug
build flavor. This commit fixes this by outputing the intermediate paths
for all flavors.

Note that there is no way to output only the dependencies for the flavor
being build at the moment. This script is executed before any particular
build (e.g. assembleDebug) is executed so we cannot know before hand
what deps to load. Fortunatelly most of the time, dependencies do not
conflict between flavors so loading them all should not be an issue
(most of the time).

Intermediate dependencies (e.g. R.class) were hard coded to the debug
build flavor. This commit fixes this by outputing the intermediate paths
for all flavors.

Note that there is no way to output only the dependencies for the flavor
being build at the moment. This script is executed before any particular
build (e.g. assembleDebug) is executed so we cannot know before hand
what deps to load. Fortunatelly most of the time, dependencies do not
conflict between flavors so loading them all should not be an issue
(most of the time).
@fwcd
Copy link
Owner

fwcd commented Jul 27, 2018

Thanks, this looks fine

@fwcd fwcd merged commit 81081c8 into fwcd:master Jul 27, 2018
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.

None yet

2 participants