diff --git a/app/build.gradle b/app/build.gradle index 36aae6022..39f230615 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -44,13 +44,14 @@ android { } buildTypes { - debug { - testCoverageEnabled = true - } release { minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + } + debug { + enableUnitTestCoverage true + enableAndroidTestCoverage true } } @@ -83,10 +84,6 @@ android { } } - lintOptions { - abortOnError = false - disable 'MissingTranslation' - } androidResources { generateLocaleConfig = true @@ -99,6 +96,10 @@ android { pickFirst "MANIFEST.MF" // workaround for duplicated manifest on some dependencies } } + lint { + abortOnError false + disable 'MissingTranslation' + } } ext { diff --git a/build.gradle b/build.gradle index 7142dd7f4..e8419d526 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:8.13.2' + classpath 'com.android.tools.build:gradle:9.0.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" // NOTE: Do not place your application dependencies here; they belong diff --git a/gradle.properties b/gradle.properties index 01a5d516e..45a1a2d43 100644 --- a/gradle.properties +++ b/gradle.properties @@ -12,4 +12,14 @@ org.gradle.configureondemand=true kapt.incremental.apt=true org.gradle.daemon=true org.gradle.configuration-cache=true +android.defaults.buildfeatures.resvalues=true +android.sdk.defaultTargetSdkToCompileSdkIfUnset=false +android.enableAppCompileTimeRClass=false +android.usesSdkInManifest.disallowed=false +android.uniquePackageNames=false +android.dependency.useConstraints=true +android.r8.strictFullModeForKeepRules=false +android.r8.optimizedResourceShrinking=false +android.builtInKotlin=false +android.newDsl=false diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 1ad09525e..6bf387b6f 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -3332,6 +3332,12 @@ + + + + + @@ -8367,6 +8373,16 @@ + + + + + + + +