Skip to content
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.

Update multiple proguard files import #137

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update multiple proguard files import #137

wants to merge 2 commits into from

Conversation

marsicdev
Copy link

Updates documentation how multiple proguard files can be included in a cleaner way and configured for all build types and flavors.

@enginebai
Copy link

When using this, an error occurred when gradle sync. (the same error #138)

2016-11-23 2 28 18

Update how multiple files are included for android gradle plugin v2.2.2
@marsicdev
Copy link
Author

@enginebai this is known bug for latest android gradle plugin v2.2.2 because of some changes in the api. I updated pull request. You can use the following syntax to fix this:

proguardFiles fileTree(include: ['*.pro'], dir: 'proguard').asList().toArray()

Make sure that your proguard folder is in you application module root directory next to src folder and .gradle file

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants