简体   繁体   中英

Can I keep all the contents in my jar file in just one sentence when I run proguard?

When I use proguard in android studio, I notice that there are -keep class mypakageName.**{*;} to keep the class in my package and -keep interface mypackageName.**{*;} to keep the interface in my package etc... but I find it is fussy, can't I keep all the files in my package in just one sentence? Or is there a method can do that?

使用-keep class将保留任何Java类型,包括类,接口,枚举。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM