mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 04:13:53 +01:00
Fix/file usage not working (#6354)
* chore: add R8 rules to prevent obfuscating file usage classes * chore: upgrade lifecycle-runtime dependency to resolve lint errors * remove invalid resource directory
This commit is contained in:
parent
d9e8917418
commit
5d7f42d127
3 changed files with 4 additions and 11 deletions
|
|
@ -66,6 +66,9 @@
|
|||
# Application classes that will be serialized/deserialized over Gson
|
||||
-keep class com.google.gson.examples.android.model.** { *; }
|
||||
|
||||
# Prevent R8 from obfuscating project classes used by Gson for parsing
|
||||
-keep class fr.free.nrw.commons.fileusages.** { *; }
|
||||
|
||||
# Prevent proguard from stripping interface information from TypeAdapterFactory,
|
||||
# JsonSerializer, JsonDeserializer instances (so they can be used in @JsonAdapter)
|
||||
-keep class * implements com.google.gson.TypeAdapterFactory
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Authors:
|
||||
* Vlad5250
|
||||
-->
|
||||
<resources>
|
||||
<string name="crash_dialog_title">کامَنٕز گوو رُکِتھ</string>
|
||||
<string name="crash_dialog_text">Oops. کیہہ تام گوو غلط!</string>
|
||||
<string name="crash_dialog_comment_prompt">ؤنِیوٚ اَسہِ توٚہہِ کیاہ ٲسِیوٚ کران، تہٕ کٕریٚو تہِ اَسہِ سٕتی شیر بذریعہِ برقی خط. یُس مَدَتھ کَرِ اَسہِ اَتھ شہَرنَس منٛز!</string>
|
||||
<string name="crash_dialog_ok_toast">شُکریہ!</string>
|
||||
</resources>
|
||||
|
|
@ -39,7 +39,7 @@ leakcanary = "2.10"
|
|||
livedataTesting = "1.2.0"
|
||||
swipelayout = "1.2.0"
|
||||
viewpagerIndicator = "2.4.1.1"
|
||||
lifecycleRuntimeKtx = "2.8.4"
|
||||
lifecycleRuntimeKtx = "2.8.7"
|
||||
loggingInterceptor = "4.10.0"
|
||||
logbackAndroidClassic = "1.1.1-6"
|
||||
material = "1.12.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue