From c2f61c921b6d5ba212eff99883f7a4e018151bcf Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Mon, 27 May 2024 14:10:21 -0300 Subject: [PATCH] chore(android): update to latest Gradle --- .changes/update-gradle.md | 6 ++++++ examples/api/.gitignore | 1 - tooling/cli/templates/mobile/android/build.gradle.kts | 2 +- .../mobile/android/gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 .changes/update-gradle.md diff --git a/.changes/update-gradle.md b/.changes/update-gradle.md new file mode 100644 index 000000000000..fd66b47f9c3e --- /dev/null +++ b/.changes/update-gradle.md @@ -0,0 +1,6 @@ +--- +"tauri-cli": patch:enhance +"@tauri-apps/cli": patch:enhance +--- + +Update to latest gradle. diff --git a/examples/api/.gitignore b/examples/api/.gitignore index f04ed4ef482f..02161ea3eefd 100644 --- a/examples/api/.gitignore +++ b/examples/api/.gitignore @@ -1,6 +1,5 @@ /node_modules/ /.vscode/ .DS_Store -gen/ .cargo dist/ diff --git a/tooling/cli/templates/mobile/android/build.gradle.kts b/tooling/cli/templates/mobile/android/build.gradle.kts index ef0b4ee43cf9..35b4f5cdfd5c 100644 --- a/tooling/cli/templates/mobile/android/build.gradle.kts +++ b/tooling/cli/templates/mobile/android/build.gradle.kts @@ -4,7 +4,7 @@ buildscript { mavenCentral() } dependencies { - classpath("com.android.tools.build:gradle:8.0.0") + classpath("com.android.tools.build:gradle:8.3.2") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21") {{~#each android-project-dependencies}} classpath("{{this}}"){{/each}} diff --git a/tooling/cli/templates/mobile/android/gradle/wrapper/gradle-wrapper.properties b/tooling/cli/templates/mobile/android/gradle/wrapper/gradle-wrapper.properties index 40a435065596..a03ce6aa2d62 100644 --- a/tooling/cli/templates/mobile/android/gradle/wrapper/gradle-wrapper.properties +++ b/tooling/cli/templates/mobile/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Tue May 10 19:22:52 CST 2022 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME