From 51c0f31700f9f15213db131e8f1a9f25e2d25c5c Mon Sep 17 00:00:00 2001 From: Josia Pietsch Date: Sat, 6 Jul 2024 21:23:28 +0200 Subject: [PATCH] updated gradle to 8.5.0 --- app/build.gradle | 6 +++++- app/release/output-metadata.json | 3 ++- app/src/main/AndroidManifest.xml | 3 +-- build.gradle | 4 ++-- gradle.properties | 2 ++ gradle/wrapper/gradle-wrapper.properties | 2 +- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c29211e..7e95a9c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -4,7 +4,7 @@ apply plugin: 'kotlin-android-extensions' android { compileSdkVersion 33 - buildToolsVersion "30.0.3" + buildToolsVersion "34.0.0" defaultConfig { applicationId "de.jrpie.android.launcher" @@ -22,6 +22,10 @@ android { proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } + namespace 'de.jrpie.android.launcher' + buildFeatures { + buildConfig true + } } diff --git a/app/release/output-metadata.json b/app/release/output-metadata.json index 1f3011b..c439280 100644 --- a/app/release/output-metadata.json +++ b/app/release/output-metadata.json @@ -16,5 +16,6 @@ "outputFile": "app-release.apk" } ], - "elementType": "File" + "elementType": "File", + "minSdkVersionForDexing": 21 } \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 2d7a33d..eaaea05 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,7 +1,6 @@ + xmlns:tools="http://schemas.android.com/tools"> diff --git a/build.gradle b/build.gradle index 78c9bb0..b419489 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,14 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.3.72' + ext.kotlin_version = '1.6.21' repositories { google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' + classpath 'com.android.tools.build:gradle:8.5.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" // NOTE: Do not place your application dependencies here; they belong diff --git a/gradle.properties b/gradle.properties index 23339e0..4795480 100644 --- a/gradle.properties +++ b/gradle.properties @@ -19,3 +19,5 @@ android.useAndroidX=true android.enableJetifier=true # Kotlin code style for this project: "official" or "obsolete": kotlin.code.style=official +android.nonTransitiveRClass=false +android.nonFinalResIds=false diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index a92b28d..be608f6 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip