Skip to content

Commit

Permalink
use api and implementation instead of compile
Browse files Browse the repository at this point in the history
  • Loading branch information
ammakarenko committed Jan 25, 2019
1 parent 4ccbfdf commit ad00c27
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions tweet-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ android {
}

dependencies {
compile project(':twitter-core')
api project(':twitter-core')

compile 'com.squareup.picasso:picasso:2.71828'
implementation 'com.squareup.picasso:picasso:2.71828'

compile "com.google.android.material:material:1.0.0"
compile "androidx.appcompat:appcompat:1.0.2"
implementation "com.google.android.material:material:1.0.0"
implementation "androidx.appcompat:appcompat:1.0.2"

}
6 changes: 3 additions & 3 deletions tweet-ui/internal-build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ ext.projectDependencies = [

dependencies {

compile 'com.squareup.picasso:picasso:2.71828'
implementation 'com.squareup.picasso:picasso:2.71828'

compile "com.google.android.material:material:1.0.0"
compile "androidx.appcompat:appcompat:1.0.2"
implementation "com.google.android.material:material:1.0.0"
implementation "androidx.appcompat:appcompat:1.0.2"
}

apply from: rootProject.deployScript
4 changes: 2 additions & 2 deletions twitter-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ android {
}

dependencies {
compile "com.squareup.retrofit2:retrofit:2.5.0"
compile "com.squareup.retrofit2:converter-gson:2.5.0"
api "com.squareup.retrofit2:retrofit:2.5.0"
api "com.squareup.retrofit2:converter-gson:2.5.0"

}
8 changes: 4 additions & 4 deletions twitter-core/internal-build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ android {
}

dependencies {
compile "com.squareup.retrofit2:retrofit:2.5.0"
compile "com.squareup.retrofit2:converter-gson:2.5.0"
compile 'com.google.code.gson:gson:2.8.5'
compile 'com.squareup.okhttp3:okhttp:3.12.1'
api "com.squareup.retrofit2:retrofit:2.5.0"
implementation "com.squareup.retrofit2:converter-gson:2.5.0"
api 'com.google.code.gson:gson:2.8.5'
api 'com.squareup.okhttp3:okhttp:3.12.1'
}

apply from: rootProject.deployScript

0 comments on commit ad00c27

Please sign in to comment.