mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
gradle: update NDK and build tools versions to be consistent.
This commit is contained in:
parent
4fb4d4d41c
commit
81eaf5c28c
6
.gitlab-ci/install-ndk.sh
Normal file → Executable file
6
.gitlab-ci/install-ndk.sh
Normal file → Executable file
|
@ -1,7 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright 2018-2020, Collabora, Ltd. and the Monado contributors
|
# Copyright 2018-2020, 2022, Collabora, Ltd. and the Monado contributors
|
||||||
# SPDX-License-Identifier: BSL-1.0
|
# SPDX-License-Identifier: BSL-1.0
|
||||||
VERSION=r21
|
|
||||||
|
# aka 21.4.7075529
|
||||||
|
VERSION=r21e
|
||||||
FN=android-ndk-${VERSION}-linux-x86_64.zip
|
FN=android-ndk-${VERSION}-linux-x86_64.zip
|
||||||
wget https://dl.google.com/android/repository/$FN
|
wget https://dl.google.com/android/repository/$FN
|
||||||
unzip $FN -d /opt
|
unzip $FN -d /opt
|
||||||
|
|
|
@ -44,7 +44,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
ndk_version = '21.3.6528147'
|
ndk_version = '21.4.7075529'
|
||||||
sharedTargetSdk = 30
|
sharedTargetSdk = 30
|
||||||
sharedMinSdk = 26
|
sharedMinSdk = 26
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ plugins {
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion project.sharedTargetSdk
|
compileSdkVersion project.sharedTargetSdk
|
||||||
buildToolsVersion '30.0.2'
|
buildToolsVersion '30.0.3'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
|
|
|
@ -16,7 +16,7 @@ plugins {
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion project.sharedTargetSdk
|
compileSdkVersion project.sharedTargetSdk
|
||||||
buildToolsVersion '30.0.2'
|
buildToolsVersion '30.0.3'
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion project.sharedMinSdk
|
minSdkVersion project.sharedMinSdk
|
||||||
|
|
Loading…
Reference in a new issue