Skip to content

Commit 2e8fbac

Browse files
Android: increase minSdkVersion:23, compileSdkVersion:30, targetSdkVersion:29
- increase buildToolsVersion and supportLibVersion accordingly
1 parent 16e20ff commit 2e8fbac

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

android/build.gradle

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ buildscript {
66
jcenter()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:3.5.3'
10-
classpath 'com.google.gms:google-services:4.3.3'
9+
classpath 'com.android.tools.build:gradle:3.5.4'
10+
classpath 'com.google.gms:google-services:4.3.4'
1111

1212
// NOTE: Do not place your application dependencies here; they belong
1313
// in the individual module build.gradle files
@@ -23,10 +23,11 @@ allprojects {
2323

2424
apply plugin: 'com.android.library'
2525

26-
def DEFAULT_COMPILE_SDK_VERSION = 28
27-
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
28-
def DEFAULT_TARGET_SDK_VERSION = 28
29-
def DEFAULT_SUPPORT_LIB_VERSION = "28.0.3"
26+
def DEFAULT_MIN_SDK_VERSION = 23
27+
def DEFAULT_COMPILE_SDK_VERSION = 30
28+
def DEFAULT_BUILD_TOOLS_VERSION = "29.0.3"
29+
def DEFAULT_TARGET_SDK_VERSION = 29
30+
def DEFAULT_SUPPORT_LIB_VERSION = "29.0.3"
3031

3132
android {
3233
compileSdkVersion rootProject.hasProperty('compileSdkVersion') ? rootProject.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
@@ -36,7 +37,7 @@ android {
3637
targetCompatibility 1.8
3738
}
3839
defaultConfig {
39-
minSdkVersion 16
40+
minSdkVersion rootProject.hasProperty('minSdkVersion') ? rootProject.minSdkVersion : DEFAULT_MIN_SDK_VERSION
4041
targetSdkVersion rootProject.hasProperty('targetSdkVersion') ? rootProject.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
4142
versionCode 1
4243
versionName "1.0"

0 commit comments

Comments
 (0)