1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-21 18:11:11 +00:00

Android: Increase target/compiled SDK version to 32 (#12911)

Build Tools, NDK, and Gradle are also updated.
Repositories is changed from jcenter() to mavenCentral().
This commit is contained in:
Muhammad Rifqi Priyo Susanto 2022-10-31 20:19:30 +07:00 committed by GitHub
parent 987277de52
commit fb3085a2c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 15 deletions

View file

@ -1,12 +1,12 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 30
buildToolsVersion '30.0.3'
compileSdkVersion 32
buildToolsVersion '32.0.0'
ndkVersion "$ndk_version"
defaultConfig {
applicationId 'net.minetest.minetest'
minSdkVersion 16
targetSdkVersion 30
targetSdkVersion 32
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
versionCode project.versionCode
}
@ -87,12 +87,12 @@ task prepareAssets() {
from "${projRoot}/textures" into "${assetsFolder}/textures"
}
file("${assetsFolder}/.nomedia").text = "";
file("${assetsFolder}/.nomedia").text = ""
task zipAssets(type: Zip) {
archiveName "Minetest.zip"
archiveFileName = "Minetest.zip"
from "${assetsFolder}"
destinationDir file("src/main/assets")
destinationDirectory = file("src/main/assets")
}
}
@ -112,5 +112,5 @@ android.applicationVariants.all { variant ->
dependencies {
implementation project(':native')
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.appcompat:appcompat:1.5.1'
}