Browse Source

update targetSdkVersion to 28

张攀 5 years ago
parent
commit
0c01e2c102
3 changed files with 7 additions and 7 deletions
  1. 2 2
      app/build.gradle
  2. 3 3
      bannerview/build.gradle
  3. 2 2
      build.gradle

+ 2 - 2
app/build.gradle

@@ -1,12 +1,12 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 27
+    compileSdkVersion 28
     buildToolsVersion '28.0.3'
     defaultConfig {
         applicationId "com.example.zhpan.circleviewpager"
         minSdkVersion 19
-        targetSdkVersion 26
+        targetSdkVersion 28
         versionCode 1
         versionName "1.0"
         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

+ 3 - 3
bannerview/build.gradle

@@ -2,11 +2,11 @@ apply plugin: 'com.android.library'
 apply plugin: 'com.github.dcendents.android-maven'
 apply plugin: 'com.jfrog.bintray'
 android {
-    compileSdkVersion 27
+    compileSdkVersion 28
 
     defaultConfig {
         minSdkVersion 19
-        targetSdkVersion 26
+        targetSdkVersion 28
         versionCode 1
         versionName "1.0"
 
@@ -34,7 +34,7 @@ dependencies {
     testImplementation 'junit:junit:4.12'
     androidTestImplementation 'com.android.support.test:runner:1.0.2'
     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
-    implementation 'com.android.support:appcompat-v7:27.1.1'
+    implementation 'com.android.support:appcompat-v7:28.0.0'
 }
 
 version = "2.1.2"

+ 2 - 2
build.gradle

@@ -31,12 +31,12 @@ task clean(type: Delete) {
 
 ext {
     compileSdkVersion=27
-    buildToolsVersion = '27.1.1'
+    buildToolsVersion = '28.0.0'
     targetSdkVersion = 26
     minSdkVersion = 19
     releaseVersionCode = 1
     releaseVersionName = '1.0.0'
-    supportLibVersion = "27.1.1"
+    supportLibVersion = "28.0.0"
 
     rxjava2Version = '2.0.8'
     retrofit2Version = '2.2.0'