From ebfeafeb42e427829a3dcdad2878a8e7b3943bc2 Mon Sep 17 00:00:00 2001 From: Frank Zhang Date: Thu, 28 Jun 2018 22:17:46 +0800 Subject: [PATCH] update denpendency of recyclerview, not implementation but compileOnly --- README.md | 2 +- app/build.gradle | 6 +++--- library/build.gradle | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 55e0191..3bea043 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ allprojects { Step 2. Add the dependency ```groovy dependencies { - compile 'com.github.Aspsine:IRecyclerView:0.0.5' + compile 'com.github.Aspsine:IRecyclerView:0.0.7' } ``` Step 3. Edit your Activity/Fragment content view layout diff --git a/app/build.gradle b/app/build.gradle index 27ea142..9c6a3b5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "com.aspsine.irecyclerview.demo" minSdkVersion 15 targetSdkVersion 27 - versionCode 6 - versionName "1.6" + versionCode 7 + versionName "1.7" } buildTypes { release { @@ -23,7 +23,7 @@ dependencies { api fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' implementation project(':library') - // implementation 'com.github.Aspsine:IRecyclerView:0.0.3' + // implementation 'com.github.Aspsine:IRecyclerView:0.0.7' implementation ('com.android.support:appcompat-v7:27.1.1') implementation ('com.android.support:recyclerview-v7:27.1.1') implementation 'com.google.code.gson:gson:2.8.0' diff --git a/library/build.gradle b/library/build.gradle index 5014242..99d735f 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -7,8 +7,8 @@ android { defaultConfig { minSdkVersion 14 targetSdkVersion 27 - versionCode 6 - versionName "0.0.6" + versionCode 7 + versionName "0.0.7" } buildTypes { release { @@ -19,7 +19,6 @@ android { } dependencies { - api fileTree(include: ['*.jar'], dir: 'libs') testImplementation 'junit:junit:4.12' - api 'com.android.support:recyclerview-v7:27.1.1' + compileOnly 'com.android.support:recyclerview-v7:27.1.1' }