diff --git a/configuration/consumer-rules.pro b/configuration/consumer-rules.pro index 38865c9600..1cd19a8bbd 100644 --- a/configuration/consumer-rules.pro +++ b/configuration/consumer-rules.pro @@ -4,4 +4,10 @@ -keep class com.amplifyframework.** { *; } # We check for specific engine classes on the classpath to determine whether Amplify should use OkHttp4 instead of OkHttp5 --keepnames class aws.smithy.kotlin.runtime.http.engine.okhttp4.* \ No newline at end of file +-keepnames class aws.smithy.kotlin.runtime.http.engine.okhttp4.* + +# OkHttp4 will not be present if not explicitly added by the customer, don't warn if it's missing +-dontwarn aws.smithy.kotlin.runtime.http.engine.okhttp4.OkHttp4Engine + +# This Tink annotation is missing from an upstream dependency +-dontwarn com.google.errorprone.annotations.Immutable \ No newline at end of file