Merge "Disable kotlin -checkdiscard rule" into main

This commit is contained in:
Treehugger Robot 2024-05-02 00:50:05 +00:00 committed by Gerrit Code Review
commit 7faf630b7c

View file

@ -10,7 +10,9 @@
# Kotlin DebugMetadata has no value in release builds, these two rules, will # Kotlin DebugMetadata has no value in release builds, these two rules, will
# allow AppReduce to strip out DebutMetadata. # allow AppReduce to strip out DebutMetadata.
-checkdiscard interface kotlin.coroutines.jvm.internal.DebugMetadata # TODO(b/302383328): Restore the below checkdiscard after resolving transitive
# inclusion of kotlin-stdlib from androidx.annotation library deps.
# -checkdiscard interface kotlin.coroutines.jvm.internal.DebugMetadata
-assumenosideeffects class kotlin.coroutines.jvm.internal.DebugMetadataKt { -assumenosideeffects class kotlin.coroutines.jvm.internal.DebugMetadataKt {
*** getDebugMetadataAnnotation(...); *** getDebugMetadataAnnotation(...);
} }