From 2c1972cab986f4d727c1ad23668af7bdf748cc55 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Wed, 11 Oct 2023 10:21:54 -0700 Subject: [PATCH] Downgrade requery sqlite idk why but it upgrading to java 17 has screwed it. should close #1619 --- app/build.gradle.kts | 5 ++++- app/proguard-android-optimize.txt | 1 - app/proguard-rules.pro | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index fbbc8afa90..f5f10a08e0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -227,7 +227,7 @@ dependencies { // Database implementation("androidx.sqlite:sqlite-ktx:2.3.1") - implementation("com.github.requery:sqlite-android:3.43.0") + implementation("com.github.requery:sqlite-android:3.39.2") implementation("com.github.inorichi.storio:storio-common:8be19de@aar") implementation("com.github.inorichi.storio:storio-sqlite:8be19de@aar") @@ -301,6 +301,9 @@ tasks { withType { kotlinOptions.freeCompilerArgs += listOf( "-Xcontext-receivers", + "-opt-in=kotlin.Experimental", + "-opt-in=kotlin.RequiresOptIn", + "-opt-in=kotlin.ExperimentalStdlibApi", "-opt-in=androidx.compose.foundation.layout.ExperimentalLayoutApi", "-opt-in=androidx.compose.material.ExperimentalMaterialApi", "-opt-in=androidx.compose.material3.ExperimentalMaterial3Api", diff --git a/app/proguard-android-optimize.txt b/app/proguard-android-optimize.txt index d069e5f1c4..c158d655cc 100644 --- a/app/proguard-android-optimize.txt +++ b/app/proguard-android-optimize.txt @@ -1,4 +1,3 @@ --allowaccessmodification -dontusemixedcaseclassnames -ignorewarnings -verbose diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 01528edc44..04f120ff70 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -17,6 +17,7 @@ -keep,allowoptimization class app.cash.quickjs.** { public protected *; } -keep,allowoptimization class uy.kohesive.injekt.** { public protected *; } -keep,allowoptimization class eu.davidea.flexibleadapter.** { public protected *; } +-keep class io.requery.android.database.** { public protected *; } # From extensions-lib -keep,allowoptimization class eu.kanade.tachiyomi.network.interceptor.RateLimitInterceptorKt { public protected *; }