Commit 31779495 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Remove unused dependencies and rearrange dependencies.

parent b7045f97
...@@ -25,35 +25,36 @@ android { ...@@ -25,35 +25,36 @@ android {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation libraries.kotlin
implementation libraries.appCompat implementation libraries.appCompat
implementation libraries.recyclerview implementation libraries.recyclerview
implementation libraries.design implementation libraries.design
implementation libraries.constraintLayout implementation libraries.constraintLayout
implementation libraries.rxjava implementation libraries.dagger
implementation libraries.rxandroid implementation libraries.daggerSupport
kapt libraries.daggerProcessor
implementation libraries.okhttp kapt libraries.daggerAndroidApt
implementation libraries.okhttpLogger
implementation libraries.room implementation libraries.room
kapt libraries.roomProcessor kapt libraries.roomProcessor
implementation libraries.roomRxjava implementation libraries.roomRxjava
implementation libraries.dagger implementation libraries.rxjava
implementation libraries.daggerSupport implementation libraries.rxandroid
kapt libraries.daggerProcessor
kapt libraries.daggerAndroidApt
implementation libraries.timber implementation libraries.okhttp
implementation libraries.threeTenABP implementation libraries.okhttpLogger
implementation libraries.fresco implementation libraries.fresco
implementation libraries.frescoAnimatedGif implementation libraries.frescoAnimatedGif
implementation libraries.frescoWebP implementation libraries.frescoWebP
implementation libraries.frescoAnimatedWebP implementation libraries.frescoAnimatedWebP
implementation libraries.kotlin implementation libraries.timber
implementation libraries.threeTenABP
implementation libraries.floatingSearchView implementation libraries.floatingSearchView
......
...@@ -11,60 +11,64 @@ ext { ...@@ -11,60 +11,64 @@ ext {
// Main dependencies // Main dependencies
support : '27.0.0', support : '27.0.0',
constraintLayout : '1.0.2', constraintLayout : '1.0.2',
autoValue : '1.3', dagger : '2.11',
moshi : '1.5.0',
okhttp : '3.9.0',
room : '1.0.0-beta1', room : '1.0.0-beta1',
rxjava : '2.1.4', rxjava : '2.1.4',
rxandroid : '2.0.1', rxandroid : '2.0.1',
timber : '4.5.1', moshi : '1.5.0',
dagger : '2.11', okhttp : '3.9.0',
fresco : '1.5.0', fresco : '1.5.0',
timber : '4.5.1',
threeTenABP : '1.0.5', threeTenABP : '1.0.5',
floatingSearchView: '2.1.1', floatingSearchView: '2.1.1',
// For testing // For testing
expresso : '3.0.1',
junit : '4.12', junit : '4.12',
mockito : '2.10.0', truth : '0.36',
truth : '0.36' expresso : '3.0.1',
mockito : '2.10.0'
] ]
libraries = [ libraries = [
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jre7:${versions.kotlin}", kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jre7:${versions.kotlin}",
appCompat : "com.android.support:appcompat-v7:${versions.support}", appCompat : "com.android.support:appcompat-v7:${versions.support}",
annotations : "com.android.support:support-annotations:${versions.support}", annotations : "com.android.support:support-annotations:${versions.support}",
recyclerview : "com.android.support:recyclerview-v7:${versions.support}", recyclerview : "com.android.support:recyclerview-v7:${versions.support}",
design : "com.android.support:design:${versions.support}", design : "com.android.support:design:${versions.support}",
constraintLayout : "com.android.support.constraint:constraint-layout:${versions.constraintLayout}", constraintLayout : "com.android.support.constraint:constraint-layout:${versions.constraintLayout}",
autoValue : "com.google.auto.value:auto-value:${versions.autoValue}",
dagger : "com.google.dagger:dagger:${versions.dagger}", dagger : "com.google.dagger:dagger:${versions.dagger}",
daggerSupport : "com.google.dagger:dagger-android-support:${versions.dagger}", daggerSupport : "com.google.dagger:dagger-android-support:${versions.dagger}",
daggerProcessor : "com.google.dagger:dagger-compiler:${versions.dagger}", daggerProcessor : "com.google.dagger:dagger-compiler:${versions.dagger}",
daggerAndroidApt : "com.google.dagger:dagger-android-processor:${versions.dagger}", daggerAndroidApt : "com.google.dagger:dagger-android-processor:${versions.dagger}",
room : "android.arch.persistence.room:runtime:${versions.room}", room : "android.arch.persistence.room:runtime:${versions.room}",
roomProcessor : "android.arch.persistence.room:compiler:${versions.room}", roomProcessor : "android.arch.persistence.room:compiler:${versions.room}",
roomRxjava : "android.arch.persistence.room:rxjava2:${versions.room}", roomRxjava : "android.arch.persistence.room:rxjava2:${versions.room}",
rxjava : "io.reactivex.rxjava2:rxjava:${versions.rxjava}", rxjava : "io.reactivex.rxjava2:rxjava:${versions.rxjava}",
rxandroid : "io.reactivex.rxjava2:rxandroid:${versions.rxandroid}", rxandroid : "io.reactivex.rxjava2:rxandroid:${versions.rxandroid}",
moshi : "com.squareup.moshi:moshi:${versions.moshi}", moshi : "com.squareup.moshi:moshi:${versions.moshi}",
okhttp : "com.squareup.okhttp3:okhttp:${versions.okhttp}", okhttp : "com.squareup.okhttp3:okhttp:${versions.okhttp}",
okhttpLogger : "com.squareup.okhttp3:logging-interceptor:${versions.okhttp}", okhttpLogger : "com.squareup.okhttp3:logging-interceptor:${versions.okhttp}",
fresco : "com.facebook.fresco:fresco:${versions.fresco}", fresco : "com.facebook.fresco:fresco:${versions.fresco}",
frescoAnimatedGif : "com.facebook.fresco:animated-gif:${versions.fresco}", frescoAnimatedGif : "com.facebook.fresco:animated-gif:${versions.fresco}",
frescoWebP : "com.facebook.fresco:webpsupport:${versions.fresco}", frescoWebP : "com.facebook.fresco:webpsupport:${versions.fresco}",
frescoAnimatedWebP : "com.facebook.fresco:animated-webp:${versions.fresco}", frescoAnimatedWebP : "com.facebook.fresco:animated-webp:${versions.fresco}",
timber : "com.jakewharton.timber:timber:${versions.timber}", timber : "com.jakewharton.timber:timber:${versions.timber}",
threeTenABP : "com.jakewharton.threetenabp:threetenabp:${versions.threeTenABP}", threeTenABP : "com.jakewharton.threetenabp:threetenabp:${versions.threeTenABP}",
floatingSearchView : "com.github.arimorty:floatingsearchview:${versions.floatingSearchView}", floatingSearchView : "com.github.arimorty:floatingsearchview:${versions.floatingSearchView}",
// For testing // For testing
junit : "junit:junit:$versions.junit",
truth : "com.google.truth:truth:$versions.truth",
compileTesting: "com.google.testing.compile:compile-testing:$versions.compileTesting",
toolsJar : files(Jvm.current().getToolsJar()), toolsJar : files(Jvm.current().getToolsJar()),
assertJ : "org.assertj:assertj-core:$versions.assertJ", junit : "junit:junit:$versions.junit",
expressoCore : "com.android.support.test.espresso:espresso-core:${versions.expresso}",
roomTest : "android.arch.persistence.room:testing:${versions.room}", roomTest : "android.arch.persistence.room:testing:${versions.room}",
expressoCore : "com.android.support.test.espresso:espresso-core:${versions.expresso}" truth : "com.google.truth:truth:$versions.truth",
] ]
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment