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

Android: build fixes & compat fixes

This commit is contained in:
MoNTE48 2019-11-07 00:39:39 +01:00 committed by Loic Blot
parent dfd5f7cb10
commit 7f023de5cb
No known key found for this signature in database
GPG key ID: EFAA458E8C153987
11 changed files with 91 additions and 100 deletions

View file

@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.android.tools.build:gradle:3.5.1'
}
}
@ -24,13 +24,14 @@ def sqlite3_version = "3240000"
apply plugin: "com.android.application"
android {
compileSdkVersion 28
compileSdkVersion 29
buildToolsVersion '29.0.2'
defaultConfig {
versionCode 24
versionName "${System.env.VERSION_STR}.${versionCode}"
minSdkVersion 14
targetSdkVersion 28
targetSdkVersion 29
applicationId "net.minetest.minetest"
manifestPlaceholders = [package: "net.minetest.minetest", project: project.name]
ndk {
@ -41,6 +42,11 @@ android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lintOptions {
disable "OldTargetApi", "GoogleAppIndexingWarning"
}
@ -165,5 +171,5 @@ task cleanAll(type: Delete, dependsOn: [clean, cleanAssets, cleanIconv,
}
dependencies {
implementation 'com.android.support:support-v4:28.0.0'
implementation 'androidx.core:core:1.1.0'
}