From 6df11ac1e4a6704a082b8ebb947b341aa4f65dc4 Mon Sep 17 00:00:00 2001 From: Adam Szewera Date: Sat, 10 Feb 2024 20:42:38 +0100 Subject: [PATCH] Upgrade compile sdk and tools (#2049) Upgrade compile sdk and tools from 33 to 34 This is needed to update Android Gradle Plugin (AGP) and other dependencies. --- app/build.gradle.kts | 4 ++-- docker/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 5b2348805..4fcbf1eb5 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -31,8 +31,8 @@ dependencies { android { val ndkVersionShared = rootProject.extra.get("ndkVersionShared") // Changes to these values need to be reflected in `../docker/Dockerfile` - compileSdk = 33 - buildToolsVersion = "33.0.2" + compileSdk = 34 + buildToolsVersion = "34.0.0" ndkVersion = "${ndkVersionShared}" buildFeatures { diff --git a/docker/Dockerfile b/docker/Dockerfile index 9eff48c2f..32b9cf76e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -35,7 +35,7 @@ RUN yes | $SDKMANAGER --licenses > /dev/null ENV NDK_VERSION 25.2.9519653 # Install other android packages, including NDK -RUN $SDKMANAGER tools platform-tools "build-tools;33.0.2" "platforms;android-33" "extras;android;m2repository" "ndk;${NDK_VERSION}" +RUN $SDKMANAGER tools platform-tools "build-tools;34.0.0" "platforms;android-34" "extras;android;m2repository" "ndk;${NDK_VERSION}" # Accept licenses of newly installed packages RUN yes | $SDKMANAGER --licenses