mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 03:06:14 +00:00
Rename the Firebase consumer keep rules file
The -dontwarn is still required: firebase-messaging ships no consumer rules and we exclude firebase-analytics from its dependencies. Only rename the file to consumer-rules.keep and reword the comment, which embedded a local path. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -26,10 +26,10 @@ android {
|
||||
|
||||
buildTypes {
|
||||
getByName("release") {
|
||||
consumerProguardFiles("consumer-proguard-rules.pro")
|
||||
consumerProguardFiles("consumer-rules.keep")
|
||||
}
|
||||
register("nightly") {
|
||||
consumerProguardFiles("consumer-proguard-rules.pro")
|
||||
consumerProguardFiles("consumer-rules.keep")
|
||||
matchingFallbacks += listOf("release")
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Fix this error:
|
||||
# ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /Users/bmarty/workspaces/element-x-android/app/build/outputs/mapping/nightly/missing_rules.txt.
|
||||
# ERROR: R8: Missing class com.google.firebase.analytics.connector.AnalyticsConnector (referenced from: void com.google.firebase.messaging.MessagingAnalytics.logToScion(java.lang.String, android.os.Bundle) and 1 other context)
|
||||
-dontwarn com.google.firebase.analytics.connector.AnalyticsConnector
|
||||
@@ -0,0 +1,4 @@
|
||||
# firebase-messaging references AnalyticsConnector, but we exclude firebase-analytics and
|
||||
# firebase-measurement-connector from its dependencies (see build.gradle.kts), so R8 reports it as a
|
||||
# missing class.
|
||||
-dontwarn com.google.firebase.analytics.connector.AnalyticsConnector
|
||||
Reference in New Issue
Block a user