修复 release 构建时 R8 缺失类报错
This commit is contained in:
Vendored
+13
@@ -42,3 +42,16 @@
|
||||
|
||||
# Base32 and algorithms (in case of reflection or specific needs)
|
||||
-keep class cn.airnan.a2fair.core.algorithm.** { *; }
|
||||
|
||||
# ML Kit references optional google-http-client / joda-time paths that are
|
||||
# absent from the Android artifact; the code paths are never exercised.
|
||||
# Generated by AGP in app/build/outputs/mapping/release/missing_rules.txt
|
||||
-dontwarn com.google.api.client.http.GenericUrl
|
||||
-dontwarn com.google.api.client.http.HttpHeaders
|
||||
-dontwarn com.google.api.client.http.HttpRequest
|
||||
-dontwarn com.google.api.client.http.HttpRequestFactory
|
||||
-dontwarn com.google.api.client.http.HttpResponse
|
||||
-dontwarn com.google.api.client.http.HttpTransport
|
||||
-dontwarn com.google.api.client.http.javanet.NetHttpTransport$Builder
|
||||
-dontwarn com.google.api.client.http.javanet.NetHttpTransport
|
||||
-dontwarn org.joda.time.Instant
|
||||
Reference in New Issue
Block a user