Skip to content

Commit 72ce18c

Browse files
committed
feat: 升级compileSdkVersion到31
以便自动生成31新增的Activity方法,使新版本第三方SDK如androidx等不会因为找不到新方法而编译失败。 close #868
1 parent 1f9dcc6 commit 72ce18c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

buildScripts/gradle/common.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def gitShortRev() {
88
}
99

1010
allprojects {
11-
ext.COMPILE_SDK_VERSION = 30
11+
ext.COMPILE_SDK_VERSION = 31
1212
ext.MIN_SDK_VERSION = 14
1313
ext.TARGET_SDK_VERSION = 28
1414
ext.VERSION_CODE = 1

projects/test/plugin/androidx-cases/test-plugin-androidx-cases/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ android {
3636
}
3737

3838
dependencies {
39-
def activity_version = "1.2.2"
40-
def appcompat_version = "1.3.1"
39+
def activity_version = "1.4.0"
40+
def appcompat_version = "1.4.1"
4141

4242
implementation "androidx.activity:activity:$activity_version"
4343
implementation "androidx.appcompat:appcompat:$appcompat_version"

0 commit comments

Comments
 (0)