mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Upgrade AGP 7.3.0 (#8016)
This commit is contained in:
parent
f54adb49a1
commit
4a3070265a
5 changed files with 15 additions and 6 deletions
9
app/proguard-rules.pro
vendored
9
app/proguard-rules.pro
vendored
|
@ -1,7 +1,6 @@
|
|||
-dontobfuscate
|
||||
|
||||
# Keep common dependencies used in extensions
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.** { public protected *; }
|
||||
-keep,allowoptimization class androidx.preference.** { public protected *; }
|
||||
-keep,allowoptimization class kotlin.** { public protected *; }
|
||||
-keep,allowoptimization class kotlinx.coroutines.** { public protected *; }
|
||||
|
@ -13,6 +12,14 @@
|
|||
-keep,allowoptimization class app.cash.quickjs.** { public protected *; }
|
||||
-keep,allowoptimization class uy.kohesive.injekt.** { public protected *; }
|
||||
|
||||
# From extensions-lib
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.network.interceptor.RateLimitInterceptorKt { public protected *; }
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.network.interceptor.SpecificHostRateLimitInterceptorKt { public protected *; }
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.network.NetworkHelper { public protected *; }
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.network.OkHttpExtensionsKt { public protected *; }
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.network.RequestsKt { public protected *; }
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.AppInfo { public protected *; }
|
||||
|
||||
##---------------Begin: proguard configuration for RxJava 1.x ----------
|
||||
-dontwarn sun.misc.**
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
buildscript {
|
||||
dependencies {
|
||||
// Pinning to older version of R8 due to weird forced optimizations in newer versions in
|
||||
// version bundled with AGP
|
||||
// https://mvnrepository.com/artifact/com.android.tools/r8?repo=google
|
||||
classpath("com.android.tools:r8:3.1.66")
|
||||
classpath(libs.android.shortcut.gradle)
|
||||
classpath(libs.google.services.gradle)
|
||||
classpath(libs.aboutLibraries.gradle)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
[versions]
|
||||
agp_version = "7.2.2"
|
||||
agp_version = "7.3.0"
|
||||
lifecycle_version = "2.5.1"
|
||||
|
||||
[libraries]
|
||||
|
|
|
@ -11,6 +11,7 @@ android {
|
|||
defaultConfig {
|
||||
minSdk = AndroidConfig.minSdk
|
||||
targetSdk = AndroidConfig.targetSdk
|
||||
consumerProguardFile("consumer-proguard.pro")
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
|
|
5
source-api/consumer-proguard.pro
Normal file
5
source-api/consumer-proguard.pro
Normal file
|
@ -0,0 +1,5 @@
|
|||
-keep,allowoptimization class eu.kanade.tachiyomi.source.model.** { public protected *; }
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.source.online.** { public protected *; }
|
||||
-keep class eu.kanade.tachiyomi.source.** extends eu.kanade.tachiyomi.source.Source { public protected *; }
|
||||
|
||||
-keep,allowoptimization class eu.kanade.tachiyomi.util.JsoupExtensionsKt { public protected *; }
|
Loading…
Reference in a new issue