-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repackage annotation compiler dependencies to prevent conflicts
Fixes #2059
- Loading branch information
1 parent
ec9f7a3
commit a0e388e
Showing
3 changed files
with
105 additions
and
2 deletions.
There are no files selected for viewing
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
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
-verbose | ||
# Use ProGuard only to get rid of unused classes | ||
-dontobfuscate | ||
-dontoptimize | ||
-keepattributes * | ||
-keep class !com.bumptech.glide.repackaged.**,com.bumptech.glide.** | ||
|
||
# Keep the entry point to this library, see META-INF\services\javax.annotation.processing.Processor | ||
-keep class com.bumptech.glide.annotation.compiler.GlideAnnotationProcessor | ||
|
||
|
||
# "duplicate definition of library class" | ||
-dontnote sun.applet.** | ||
# "duplicate definition of library class" | ||
-dontnote sun.tools.jar.** | ||
# Reflective accesses in com.google.common.util.concurrent.* and some others | ||
-dontnote com.bumptech.glide.repackaged.com.google.common.** | ||
# com.google.common.collect.* and some others (….common.*.*) | ||
-dontwarn com.google.j2objc.annotations.Weak | ||
# com.google.common.util.concurrent.FuturesGetChecked$GetCheckedTypeValidatorHolder$ClassValueValidator | ||
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement | ||
#-dontwarn ** |