1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-25 13:51:16 +00:00

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.
This commit is contained in:
Adam Szewera 2024-02-10 20:42:38 +01:00 committed by GitHub
parent b1194b9f11
commit 6df11ac1e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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 {

View file

@ -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