android-proguard-snippets icon indicating copy to clipboard operation
android-proguard-snippets copied to clipboard

Update multiple proguard files import

Open marsicdev opened this issue 9 years ago • 2 comments

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

marsicdev avatar Oct 02 '16 12:10 marsicdev

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

2016-11-23 2 28 18

enginebai avatar Nov 23 '16 06:11 enginebai

@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

marsicdev avatar Nov 23 '16 07:11 marsicdev