diff --git a/build.gradle b/build.gradle index be8662a2..59773853 100644 --- a/build.gradle +++ b/build.gradle @@ -15,7 +15,7 @@ buildscript { mavenCentral() } dependencies { - classpath 'com.android.tools.build:gradle:8.13.2' + classpath 'com.android.tools.build:gradle:9.0.0' classpath 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.4.8' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.23.8" diff --git a/gradle.properties b/gradle.properties index f5677d94..71465430 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,3 +5,13 @@ android.useAndroidX=true android.nonTransitiveRClass=false android.nonFinalResIds=false android.enableR8.fullMode=false +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 159b556c..cdfbc778 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -52,6 +52,8 @@ + @@ -210,6 +212,7 @@ + @@ -1093,6 +1096,12 @@ + + + + + @@ -1543,6 +1552,12 @@ + + + + + @@ -4054,6 +4069,16 @@ + + + + + + + + @@ -13116,6 +13141,12 @@ + + + + + diff --git a/lib/build.gradle b/lib/build.gradle index cf4d6a22..e9f9e580 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -41,7 +41,6 @@ android { defaultConfig { minSdk 21 - targetSdk = 36 compileSdk = 36 consumerProguardFiles 'consumer-proguard-rules.pro' } @@ -53,7 +52,7 @@ android { buildTypes { release { minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } @@ -83,6 +82,10 @@ android { disable 'MissingTranslation', 'ExtraTranslation', 'MissingQuantity', 'InconsistentArrays', 'TypographyEllipsis', 'GradleDependency', 'VectorPath', 'IconMissingDensityFolder', 'IconDensities' htmlOutput = file("$project.layout.buildDirectory/reports/lint/lint.html") htmlReport = true + targetSdk 36 + } + testOptions { + targetSdk 36 } }