From f647a0263481c81e79150d088d1f3f2224d74233 Mon Sep 17 00:00:00 2001 From: Adam Szewera Date: Wed, 10 Jan 2024 21:27:21 +0100 Subject: [PATCH] Upgrade Gradle wrapper to version `8.5` (#2021) ## Description Dependabot does not support (yet) upgrading the Gradle wrapper thus it needs to be updated/upgraded manually. ## Changes: * Upgrade gradle wrapper to version `8.5` See also: https://github.com/dependabot/dependabot-core/issues/2223 --- app/build.gradle.kts | 10 ++++++++++ gradle/wrapper/gradle-wrapper.properties | 3 +-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4374da36..ce9df5c4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -1,3 +1,5 @@ +import org.gradle.configurationcache.extensions.capitalized + plugins { id("com.android.application") id("com.github.ben-manes.versions") @@ -109,3 +111,11 @@ tasks.register("deleteUnsupportedPlayTranslations") { "src/main/play/listings/ta/", ) } + +project.afterEvaluate { + android.buildTypes.forEach { + tasks.named("merge${it.name.capitalized()}JniLibFolders") { + dependsOn(":syncthing:buildNative") + } + } +} diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 5742520f..559efb4c 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Mon Oct 05 14:20:28 EEST 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip