Skip to content

Instantly share code, notes, and snippets.

@twiceyuan
Last active June 5, 2019 02:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twiceyuan/a9b869db5f33861626e19fedc29c4c2e to your computer and use it in GitHub Desktop.
Save twiceyuan/a9b869db5f33861626e19fedc29c4c2e to your computer and use it in GitHub Desktop.
[Module 打包时附带 ProGuard 配置] #Android

defaultConfig 下添加:

consumerProguardFiles 'proguard-rules.pro'

或者也可以在特定的配置下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment