Skip to content

Commit a7968f9

Browse files
committed
feat: [Android] bump minSDK to 18, targetVersion to 28. Closes #171
1 parent 58d21a4 commit a7968f9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

android/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
buildscript {
22
repositories {
3+
google()
34
jcenter()
45
}
56
dependencies {
6-
classpath 'com.android.tools.build:gradle:2.3.3'
7+
classpath 'com.android.tools.build:gradle:3.4.1'
78
}
89
}
910

1011
apply plugin: 'com.android.library'
1112

12-
def DEFAULT_COMPILE_SDK_VERSION = 27
13-
def DEFAULT_BUILD_TOOLS_VERSION = "27.0.3"
14-
def DEFAULT_TARGET_SDK_VERSION = 27
13+
def DEFAULT_COMPILE_SDK_VERSION = 28
14+
def DEFAULT_BUILD_TOOLS_VERSION = "28.0.3"
15+
def DEFAULT_TARGET_SDK_VERSION = 28
1516

1617
android {
1718
compileSdkVersion project.hasProperty('compileSdkVersion') ? project.compileSdkVersion : DEFAULT_COMPILE_SDK_VERSION
1819
buildToolsVersion project.hasProperty('buildToolsVersion') ? project.buildToolsVersion : DEFAULT_BUILD_TOOLS_VERSION
1920

2021
defaultConfig {
21-
minSdkVersion 16
22+
minSdkVersion 18
2223
targetSdkVersion project.hasProperty('targetSdkVersion') ? project.targetSdkVersion : DEFAULT_TARGET_SDK_VERSION
2324
versionCode 1
2425
versionName "1.0"

0 commit comments

Comments
 (0)