What is the difference between `com.example. ** `and` com.example. ** {*;} `?

When I use ProGuard, what is the difference between com.example.**and com.example.**{*;}? For example, what happens for each case?

  -keep class com.example.**

  -keep class com.example.** { *; }
+4
source share
1 answer

-keep class com.example. **

Keep all classes in package com.example

-keep class com.example. ** {*; }

Keep all inner classes in package com.example

+3
source

Source: https://habr.com/ru/post/1628772/


All Articles