From 31488a0bd4d161019c14e96ddeb599b0a7709f4c Mon Sep 17 00:00:00 2001 From: Ishan09811 <156402647+Ishan09811@users.noreply.github.com> Date: Thu, 25 Jan 2024 17:02:41 +0530 Subject: [PATCH] fx --- src/pandroid/app/build.gradle.kts | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/src/pandroid/app/build.gradle.kts b/src/pandroid/app/build.gradle.kts index b20512d62..10b5748ab 100644 --- a/src/pandroid/app/build.gradle.kts +++ b/src/pandroid/app/build.gradle.kts @@ -21,20 +21,21 @@ android { } buildTypes { - release { - minifyEnabled true - shrinkResources true + getByName("release") { + isMinifyEnabled = true + isShrinkResources = true proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" ) } - debug { - minifyEnabled false - shrinkResources false - debuggable true - proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" - + getByName("debug") { + isMinifyEnabled = false + isShrinkResources = false + isDebuggable = true + proguardFiles( + getDefaultProguardFile("proguard-android-optimize.txt"), + "proguard-rules.pro" ) } } @@ -50,4 +51,4 @@ dependencies { implementation("androidx.preference:preference:1.2.1") implementation("androidx.constraintlayout:constraintlayout:2.1.4") implementation("com.google.code.gson:gson:2.10.1") -} \ No newline at end of file +}