Last active
January 22, 2019 09:44
-
-
Save sergeykomlach/ef29b21742e49c5a94157fd77b389194 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Optimize APK size - remove excess files in the manifest and APK | |
packagingOptions { | |
//ignore strip tool for obsolete arch in 3rd-party libs | |
doNotStrip "*/armeabi/*.so" | |
doNotStrip "*/mips/*.so" | |
doNotStrip "*/mips64/*.so" | |
exclude "/META-INF/*.kotlin_module" | |
exclude "**/kotlin/**" | |
exclude "**/*.txt" | |
exclude "**/*.xml" | |
exclude "**/*.properties" | |
//files with commented code | |
exclude "**/*.java" | |
exclude "**/*.kt" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment