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
}
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")
}
}
dependencies {
implementation project(':native')
- implementation 'androidx.appcompat:appcompat:1.3.1'
+ implementation 'androidx.appcompat:appcompat:1.5.1'
}
// each APK must have a larger `versionCode` than the previous
buildscript {
- ext.ndk_version = '23.2.8568313'
+ ext.ndk_version = '25.1.8937393'
repositories {
google()
- jcenter()
+ mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:7.0.3'
+ classpath 'com.android.tools.build:gradle:7.2.2'
classpath 'de.undercouch:gradle-download-task:4.1.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
allprojects {
repositories {
google()
- jcenter()
+ mavenCentral()
}
}
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
apply plugin: 'de.undercouch.download'
android {
- compileSdkVersion 30
- buildToolsVersion '30.0.3'
+ compileSdkVersion 32
+ buildToolsVersion '32.0.0'
ndkVersion "$ndk_version"
defaultConfig {
minSdkVersion 16
- targetSdkVersion 30
+ targetSdkVersion 32
externalNativeBuild {
ndkBuild {
arguments '-j' + Runtime.getRuntime().availableProcessors(),