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 proguard rules to keep EntryPoint classes so optimizers don't rem…
…ove them. RELNOTES=Add proguard rules to keep EntryPoint classes so optimizers don't remove them. PiperOrigin-RevId: 363988696
- Loading branch information
1 parent
f7e02d6
commit 96171b0
Showing
6 changed files
with
17 additions
and
0 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
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
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,3 @@ | ||
# Keep for the reflective cast done in EntryPoints. | ||
# See b/183070411#comment4 for more info. | ||
-keep,allowobfuscation,allowshrinking @dagger.hilt.android.EarlyEntryPoint class * |
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
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,4 @@ | ||
# Keep for the reflective cast done in EntryPoints. | ||
# See b/183070411#comment4 for more info. | ||
-keep,allowobfuscation,allowshrinking @dagger.hilt.internal.ComponentEntryPoint class * | ||
-keep,allowobfuscation,allowshrinking @dagger.hilt.internal.GeneratedEntryPoint class * |
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,3 @@ | ||
# Keep for the reflective cast done in EntryPoints. | ||
# See b/183070411#comment4 for more info. | ||
-keep,allowobfuscation,allowshrinking @dagger.hilt.EntryPoint class * |