2
0
Эх сурвалжийг харах

Android 13 build compatibility.

Miku AuahDark 3 жил өмнө
parent
commit
63d53f3584
2 өөрчлөгдсөн 12 нэмэгдсэн , 12 устгасан
  1. 5 5
      app/build.gradle
  2. 7 7
      love/build.gradle

+ 5 - 5
app/build.gradle

@@ -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
love/build.gradle

@@ -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'
 }