blob: 70dbaa7e813c3bcfcc7367e576b71f872b7a9ccb [file] [log] [blame]
Yifei Zhange6d99642023-11-02 17:23:07 -07001# Ignore missing Kotlin meta-annotations so that Java-only projects can depend
2# on projects that happen to be written in Kotlin but do not have a run-time
3# dependency on the Kotlin standard library. Note these annotations are RUNTIME
4# retention, but we won't need them available in Java-only projects.
5-dontwarn kotlin.Metadata
6-dontwarn kotlin.annotation.AnnotationRetention
7-dontwarn kotlin.annotation.AnnotationTarget
8-dontwarn kotlin.annotation.Retention
9-dontwarn kotlin.annotation.Target
10
11# Kotlin DebugMetadata has no value in release builds, these two rules, will
12# allow AppReduce to strip out DebutMetadata.
13-checkdiscard interface kotlin.coroutines.jvm.internal.DebugMetadata
14-assumenosideeffects class kotlin.coroutines.jvm.internal.DebugMetadataKt {
15 *** getDebugMetadataAnnotation(...);
16}
17-assumevalues class kotlin.coroutines.jvm.internal.DebugMetadataKt {
18 *** getDebugMetadataAnnotation(...) return null;
19}