Skip to content

Commit

Permalink
update denpendency of recyclerview, not implementation but compileOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Zhang authored and Frank Zhang committed Jun 28, 2018
1 parent fe74667 commit ebfeafe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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'
Expand Down
7 changes: 3 additions & 4 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 14
targetSdkVersion 27
versionCode 6
versionName "0.0.6"
versionCode 7
versionName "0.0.7"
}
buildTypes {
release {
Expand All @@ -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'
}

0 comments on commit ebfeafe

Please sign in to comment.