Upgrade AGP 7.3.0 (#8016)

This commit is contained in:
Ivan Iskandar 2022-09-17 21:26:02 +07:00 committed by GitHub
parent f54adb49a1
commit 4a3070265a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 6 deletions

View File

@ -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.**

View File

@ -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)

View File

@ -1,5 +1,5 @@
[versions]
agp_version = "7.2.2"
agp_version = "7.3.0"
lifecycle_version = "2.5.1"
[libraries]

View File

@ -11,6 +11,7 @@ android {
defaultConfig {
minSdk = AndroidConfig.minSdk
targetSdk = AndroidConfig.targetSdk
consumerProguardFile("consumer-proguard.pro")
}
compileOptions {

View 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 *; }