AS Arctic Fox | 2020.3.1 Update to Gradle/AGP 7.0.2

Removed obsolete DSL element 'dexOptions'

It will be removed in version 8.0 of the Android Gradle plugin.
Using it has no effect, and the AndroidGradle plugin optimizes dexing automatically.

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2021-09-25 17:57:16 +02:00 committed by Álvaro Brey (Rebase PR Action)
parent 87f7015ef7
commit 504366d7db
2 changed files with 2 additions and 6 deletions

View file

@ -18,7 +18,7 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:4.2.2' classpath 'com.android.tools.build:gradle:7.0.2'
classpath 'com.hiya:jacoco-android:0.2' classpath 'com.hiya:jacoco-android:0.2'
classpath 'gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.5' classpath 'gradle.plugin.com.github.spotbugs.snom:spotbugs-gradle-plugin:4.7.5'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
@ -118,10 +118,6 @@ android {
'InvalidPeriodicWorkRequestInterval' // crashes due to a bug in lint itself 'InvalidPeriodicWorkRequestInterval' // crashes due to a bug in lint itself
} }
dexOptions {
javaMaxHeapSize "4g"
}
compileSdkVersion 29 compileSdkVersion 29
defaultConfig { defaultConfig {

View file

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists