From e2fde02cf9e235a80a4d970b143deea91a47eec6 Mon Sep 17 00:00:00 2001 From: sspanak Date: Mon, 18 Mar 2024 17:08:25 +0200 Subject: [PATCH] gradle upgrade 8.2 -> 8.4 --- app/build.gradle | 11 ++++++----- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 4 ++-- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 559098ee..28ef4eac 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,7 +10,7 @@ apply from: 'version-tools.gradle' tasks.register('validateLanguages') { inputs.dir fileTree(dir: LANGUAGES_INPUT_DIR) - outputs.file "${project.buildDir}/lang.validation.txt" + outputs.file layout.buildDirectory.file("lang.validation.txt") doLast { validateLanguageFiles(DEFINITIONS_INPUT_DIR, DICTIONARIES_INPUT_DIR, outputs.files.singleFile) @@ -88,16 +88,17 @@ android { targetCompatibility JavaVersion.VERSION_1_8 } - applicationVariants.configureEach { variant -> tasks.named("generate${variant.name.capitalize()}Assets")?.configure { dependsOn(validateLanguages, copyLanguages, writeDictionaryProperties) } ["lintAnalyzeDebug", "generateDebugLintReportModel", "lintVitalAnalyzeRelease", "generateReleaseLintVitalReportModel"].each { taskName -> - tasks.named(taskName)?.configure { - dependsOn(validateLanguages, copyLanguages, writeDictionaryProperties) - } + try { + tasks.named(taskName)?.configure { + dependsOn(validateLanguages, copyLanguages, writeDictionaryProperties) + } + } catch (UnknownTaskException ignored) {} } assembleDebug.finalizedBy(updateManifest) diff --git a/build.gradle b/build.gradle index 8de434bd..03756bf4 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,4 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { - id 'com.android.application' version '8.2.2' apply false + id 'com.android.application' version '8.3.0' apply false } \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 6efc4f4a..e2d9e93d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ #Sat Feb 10 14:43:22 EET 2024 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=38f66cd6eef217b4c35855bb11ea4e9fbc53594ccccb5fb82dfd317ef8c2c5a3 -distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-bin.zip +distributionSha256Sum=3e1af3ae886920c3ac87f7a91f816c0c7c436f276a6eefdb3da152100fef72ae +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists