How to randomize ProGuard dictionaries on each build?
问题 I found an article which introduces the concept of randomizing the dictionary entries instead of using the standard "a, b, c, ..." for class names and variables when obfuscating. He explains that tasks can be run in gradle on build to generate a randomized text file which can replace the one provided by default: tasks.whenTaskAdded { currentTask -> //Android Gradle plugin may change this task name in the future def prefix = 'transformClassesAndResourcesWithProguardFor' if (currentTask.name