Upgrade to AGP 8.0 and Gradle 8.4

This commit is contained in:
Manuel Fuhr 2024-04-03 13:20:20 +02:00
parent e2752c78bb
commit 1573aa52e0
5 changed files with 10 additions and 5 deletions

View file

@ -51,7 +51,7 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
debuggable false
if (project.hasProperty("RELEASE_STORE_FILE") && RELEASE_STORE_FILE.length() > 0) {
signingConfig signingConfigs.release
@ -74,6 +74,10 @@ android {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
buildFeatures {
aidl true
buildConfig true
}
applicationVariants.all {
variant ->

View file

@ -35,6 +35,7 @@ application {
distZip {
dependsOn fatJar
dependsOn ':brouter-routing-app:packageRelease'
archiveFileName = 'brouter-' + project.version + '.zip'
}

View file

@ -7,7 +7,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.3.1'
// NOTE: Do not place your application dependencies here; they belong

View file

@ -17,5 +17,5 @@ org.gradle.jvmargs=-Xmx1536m
android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=false
android.nonTransitiveRClass=false
android.nonFinalResIds=false

View file

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip