Skip to content

Commit

Permalink
feat: 升级compileSdkVersion到31
Browse files Browse the repository at this point in the history
以便自动生成31新增的Activity方法,使新版本第三方SDK如androidx等不会因为找不到新方法而编译失败。

close #868
  • Loading branch information
shifujun committed Apr 7, 2022
1 parent 1f9dcc6 commit 72ce18c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion buildScripts/gradle/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def gitShortRev() {
}

allprojects {
ext.COMPILE_SDK_VERSION = 30
ext.COMPILE_SDK_VERSION = 31
ext.MIN_SDK_VERSION = 14
ext.TARGET_SDK_VERSION = 28
ext.VERSION_CODE = 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ android {
}

dependencies {
def activity_version = "1.2.2"
def appcompat_version = "1.3.1"
def activity_version = "1.4.0"
def appcompat_version = "1.4.1"

implementation "androidx.activity:activity:$activity_version"
implementation "androidx.appcompat:appcompat:$appcompat_version"
Expand Down

0 comments on commit 72ce18c

Please sign in to comment.