mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-22 10:51:28 +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:
parent
b1194b9f11
commit
6df11ac1e4
2 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue