From e1f9f278d38112d04043ada002fe6dda9d912ce1 Mon Sep 17 00:00:00 2001 From: Valeri Gokadze Date: Thu, 26 Oct 2023 10:23:49 +0400 Subject: [PATCH] Revert "Upgraded AGP to 8" This reverts commit de988f615b12d1d9aa85067ec7bc324d36bf41fc. --- android/app/build.gradle | 13 ++++--------- android/build.gradle | 2 +- android/gradle.properties | 3 --- 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 5794808ae..eeebcd089 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -51,6 +51,10 @@ android { main.java.srcDirs += 'src/main/kotlin' } + lintOptions { + checkReleaseBuilds false + abortOnError false + } defaultConfig { applicationId "com.gokadzev.musify" @@ -91,15 +95,6 @@ android { shrinkResources false } } - packagingOptions { - jniLibs { - useLegacyPackaging true - } - } - lint { - abortOnError false - checkReleaseBuilds false - } } diff --git a/android/build.gradle b/android/build.gradle index 3aaaf312b..75ddb8e29 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -6,7 +6,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:8.1.0' + classpath 'com.android.tools.build:gradle:7.4.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } diff --git a/android/gradle.properties b/android/gradle.properties index 4b4dc17c3..94adc3a3f 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,6 +1,3 @@ org.gradle.jvmargs=-Xmx1536M android.useAndroidX=true android.enableJetifier=true -android.defaults.buildfeatures.buildconfig=true -android.nonTransitiveRClass=true -android.nonFinalResIds=false