Android 13 build compatibility.

This commit is contained in:
Miku AuahDark
2022-10-30 23:47:32 +08:00
parent bed7d5c826
commit 63d53f3584
2 changed files with 12 additions and 12 deletions
+5 -5
View File
@@ -1,15 +1,15 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 31
buildToolsVersion '31.0.0'
ndkVersion '21.3.6528147'
compileSdk 33
buildToolsVersion '33.0.0'
ndkVersion '23.2.8568313'
defaultConfig {
applicationId 'org.love2d.android'
versionCode 30
versionName '11.4'
minSdkVersion 16
targetSdkVersion 31
targetSdk 33
}
buildTypes {
release {
@@ -40,6 +40,6 @@ android {
dependencies {
api 'androidx.multidex:multidex:2.0.1'
api fileTree(dir: 'libs', include: ['*.jar'])
api 'androidx.appcompat:appcompat:1.4.0'
api 'androidx.appcompat:appcompat:1.5.1'
api project(':love')
}
+7 -7
View File
@@ -6,13 +6,13 @@ android {
// See https://code.google.com/p/android/issues/detail?id=52962
// and http://stackoverflow.com/questions/27277433/why-does-gradle-build-my-module-in-release-mode-when-the-app-is-in-debug
// defaultPublishConfig "debug"
compileSdkVersion 31
buildToolsVersion '31.0.0'
ndkVersion '21.3.6528147'
compileSdkVersion 33
buildToolsVersion '33.0.0'
ndkVersion '23.2.8568313'
defaultConfig {
compileSdkVersion 31
buildToolsVersion '31.0.0'
compileSdkVersion 33
buildToolsVersion '33.0.0'
minSdkVersion 16
externalNativeBuild {
ndkBuild {
@@ -25,7 +25,7 @@ android {
abiFilters 'armeabi-v7a', 'arm64-v8a'
debugSymbolLevel 'SYMBOL_TABLE'
}
targetSdkVersion 31
targetSdkVersion 33
}
def retrieveAll3pModules = { ->
@@ -111,5 +111,5 @@ android {
dependencies {
api fileTree(dir: 'libs', include: ['*.jar'])
api 'androidx.appcompat:appcompat:1.4.0'
api 'androidx.appcompat:appcompat:1.5.1'
}