From 4bc7416a9dabac7481b63d97124061a541a2b3b3 Mon Sep 17 00:00:00 2001 From: Nullptr Date: Sun, 16 Oct 2022 18:35:14 +0800 Subject: [PATCH] Fix release build fetching update --- app/build.gradle.kts | 16 +++++++++------- app/proguard-rules.pro | 3 +++ app/src/main/res/layout/fragment_home.xml | 1 + 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 2cedaeb..3a4d85d 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -26,6 +26,14 @@ android { buildFeatures { viewBinding = true } + + applicationVariants.all { + kotlin { + sourceSets.getByName(name) { + kotlin.srcDir("build/generated/ksp/$name/kotlin") + } + } + } } autoResConfig { @@ -119,17 +127,11 @@ afterEvaluate { afterEval() } -kotlin { - sourceSets.debug { - kotlin.srcDir("build/generated/ksp/debug/kotlin") - } -} - dependencies { implementation(projects.common) runtimeOnly(projects.xposed) - val rxhttpVersion = "2.9.3" + val rxhttpVersion = "2.9.5" implementation("androidx.navigation:navigation-fragment-ktx:2.5.2") implementation("androidx.navigation:navigation-ui-ktx:2.5.2") implementation("androidx.preference:preference-ktx:1.2.0") diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 971a41d..6b0ef8d 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -11,3 +11,6 @@ public static **[] values(); public static ** valueOf(java.lang.String); } + +-keep class icu.nullptr.hidemyapplist.data.UpdateData { *; } +-keep class icu.nullptr.hidemyapplist.data.UpdateData$* { *; } diff --git a/app/src/main/res/layout/fragment_home.xml b/app/src/main/res/layout/fragment_home.xml index a98c819..5a71f11 100644 --- a/app/src/main/res/layout/fragment_home.xml +++ b/app/src/main/res/layout/fragment_home.xml @@ -40,6 +40,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginHorizontal="20dp" + android:scrollbars="none" app:layout_behavior="@string/appbar_scrolling_view_behavior">