forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rules to stop LazyClassKey referenced classes being merged with R8.
Also adjusted the proguard rule to avoid keeping the LazyClassKeyProvider which is unnecessary. Issue#4323 RELNOTES=n/a PiperOrigin-RevId: 643422417
- Loading branch information
1 parent
33c7673
commit 81512af
Showing
2 changed files
with
4 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-keepclasseswithmembers,includedescriptorclasses class * { | ||
-keepclassmembers,includedescriptorclasses class * { | ||
@dagger.internal.KeepFieldType <fields>; | ||
} |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
-identifiernamestring @dagger.internal.IdentifierNameString class ** { | ||
static java.lang.String *; | ||
} | ||
-keepclassmembers,includedescriptorclasses,allowobfuscation,allowshrinking class * { | ||
@dagger.internal.KeepFieldType <fields>; | ||
} |