Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
830b4664fb | ||
|
|
dd4fb90dc4 | ||
|
|
a55fb0461c |
+11
-2
@@ -19,7 +19,7 @@ android {
|
||||
versionCode = 1
|
||||
// В продакшн-сборке версию приложения подставляет CI (env APP_VERSION = дата ГГГГ.ММ.ДД).
|
||||
// Локально и при отсутствии переменной — fallback "1.0".
|
||||
versionName = System.getenv("APP_VERSION") ?: "v2026.09.17"
|
||||
versionName = System.getenv("APP_VERSION") ?: "debug"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
@@ -40,7 +40,8 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
isMinifyEnabled = true
|
||||
isShrinkResources = true
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
@@ -66,6 +67,14 @@ android {
|
||||
compose = true
|
||||
buildConfig = true
|
||||
}
|
||||
splits {
|
||||
abi {
|
||||
isEnable = true
|
||||
reset()
|
||||
include("armeabi-v7a", "arm64-v8a")
|
||||
isUniversalApk = false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ksp {
|
||||
|
||||
Vendored
+10
-1
@@ -18,4 +18,13 @@
|
||||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
# Игнорировать отсутствие класса декодера JP2 в PdfBox-Android
|
||||
-dontwarn com.gemalto.jp2.JP2Decoder
|
||||
# На всякий случай, если PdfBox ссылается на другие отсутствующие библиотеки (например, ICU для текста)
|
||||
-dontwarn com.tom_roush.pdfbox.**
|
||||
|
||||
# Запретить R8 удалять и переименовывать внутренности PdfBox-Android
|
||||
-keep class com.tom_roush.pdfbox.** { *; }
|
||||
-keep interface com.tom_roush.pdfbox.** { *; }
|
||||
|
||||
Reference in New Issue
Block a user