diff --git a/README.md b/README.md index d1a4610..e4863a4 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ repositories { 2.添加依赖 -> compile 'com.github.tianzhijiexian:Shatter:[Latest release](https://github.com/tianzhijiexian/Shatter/releases)(<-click)' +> implementation 'com.github.tianzhijiexian:Shatter:[Latest release](https://github.com/tianzhijiexian/Shatter/releases)(<-click)' ## 配置方式 diff --git a/app/build.gradle b/app/build.gradle index 66019cb..49bb3b1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -2,13 +2,13 @@ apply plugin: 'com.android.application' apply plugin: 'me.leolin.gradle-android-aspectj' android { - compileSdkVersion 26 + compileSdkVersion 27 buildToolsVersion '27.0.3' defaultConfig { applicationId "kale.ui" minSdkVersion 14 - targetSdkVersion 26 + targetSdkVersion 27 versionCode 1 versionName "1.0" } @@ -21,9 +21,8 @@ android { } dependencies { - compile 'com.android.support:appcompat-v7:26.1.0' - debugCompile 'com.squareup.leakcanary:leakcanary-android:1.3' - releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.3' - compile 'com.jakewharton.scalpel:scalpel:1.1.2' - compile project(':lib') + implementation 'com.android.support:appcompat-v7:27.1.1' + implementation 'com.squareup.leakcanary:leakcanary-android:1.3' + implementation 'com.jakewharton.scalpel:scalpel:1.1.2' + implementation project(':lib') } \ No newline at end of file diff --git a/aspect-plugin/build.gradle b/aspect-plugin/build.gradle index 18ffa5a..88bc7ba 100644 --- a/aspect-plugin/build.gradle +++ b/aspect-plugin/build.gradle @@ -2,12 +2,12 @@ apply plugin: 'groovy' apply plugin: 'maven' dependencies { - compile gradleApi() - compile localGroovy() - compile 'com.android.tools.build:gradle:1.3.1' - compile 'org.aspectj:aspectjtools:1.8.6' - compile 'org.aspectj:aspectjrt:1.8.6' - compile files('libs/proguard.jar') + implementation gradleApi() + implementation localGroovy() + implementation 'com.android.tools.build:gradle:1.3.1' + implementation 'org.aspectj:aspectjtools:1.8.6' + implementation 'org.aspectj:aspectjrt:1.8.6' + implementation files('libs/proguard.jar') } version = '1.0.0' diff --git a/build.gradle b/build.gradle index e82f5e9..9ab9582 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.0' + classpath 'com.android.tools.build:gradle:3.0.1' classpath 'me.tatarka:gradle-retrolambda:3.2.0'//lambda classpath 'me.leolin:android-aspectj-plugin:1.0.7' // https://github.com/leolin310148/GradleAndroidAspectJPlugin } diff --git a/lib/build.gradle b/lib/build.gradle index ceb9013..49a41a6 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -3,12 +3,12 @@ apply plugin: 'me.tatarka.retrolambda' apply plugin: 'me.leolin.gradle-android-aspectj' android { - compileSdkVersion 26 - buildToolsVersion '26.0.2' + compileSdkVersion 27 + buildToolsVersion '27.0.3' defaultConfig { minSdkVersion 14 - targetSdkVersion 26 + targetSdkVersion 27 } buildTypes { @@ -26,7 +26,7 @@ android { } dependencies { - provided 'com.android.support:appcompat-v7:26.1.0' + provided 'com.android.support:appcompat-v7:27.1.1' } // build a jar with source files