Skip to content

Commit

Permalink
Remove unnecessary module dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Dec 15, 2019
1 parent 80f81ca commit 16e686b
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 133 deletions.
10 changes: 2 additions & 8 deletions app/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ dependencies {
implementation project(":base-android") implementation project(":base-android")
implementation project(":common-ui-view") implementation project(":common-ui-view")
implementation project(":common-epoxy") implementation project(":common-epoxy")
implementation project(":common-layouts")
implementation project(':common-imageloading') implementation project(':common-imageloading')
implementation project(":common-databinding") implementation project(":common-databinding")
implementation project(":common-entrygrid") implementation project(":common-entrygrid")
Expand All @@ -178,9 +177,9 @@ dependencies {
implementation project(":tmdb") implementation project(":tmdb")
implementation project(':domain') implementation project(':domain')
implementation project(":tasks") implementation project(":tasks")

implementation project(":ui-discover") implementation project(":ui-discover")
implementation project(":ui-showdetails") implementation project(":ui-showdetails")
implementation project(":presenter-episodedetails")
implementation project(":ui-episodedetails") implementation project(":ui-episodedetails")
implementation project(":ui-followed") implementation project(":ui-followed")
implementation project(":ui-watched") implementation project(":ui-watched")
Expand All @@ -190,17 +189,12 @@ dependencies {
implementation project(":ui-search") implementation project(":ui-search")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


implementation Libs.AndroidX.appcompat implementation Libs.AndroidX.appcompat
implementation Libs.AndroidX.browser implementation Libs.AndroidX.browser
implementation Libs.AndroidX.palette
implementation Libs.AndroidX.recyclerview
implementation Libs.AndroidX.emoji implementation Libs.AndroidX.emoji
implementation Libs.AndroidX.preference implementation Libs.AndroidX.preference
implementation Libs.AndroidX.constraintlayout
implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.Fragment.fragment
implementation Libs.AndroidX.Fragment.fragmentKtx implementation Libs.AndroidX.Fragment.fragmentKtx
implementation Libs.AndroidX.Navigation.fragment implementation Libs.AndroidX.Navigation.fragment
implementation Libs.AndroidX.Navigation.ui implementation Libs.AndroidX.Navigation.ui
Expand Down
2 changes: 1 addition & 1 deletion base-android/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies {


implementation Libs.AndroidX.Fragment.fragment implementation Libs.AndroidX.Fragment.fragment
implementation Libs.AndroidX.coreKtx implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.collection //implementation Libs.AndroidX.collection


implementation Libs.timber implementation Libs.timber
implementation Libs.threeTenAbp implementation Libs.threeTenAbp
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/app/tivi/buildsrc/dependencies.kt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ object Libs {
object Lifecycle { object Lifecycle {
private const val version = "2.2.0-rc02" private const val version = "2.2.0-rc02"
const val extensions = "androidx.lifecycle:lifecycle-extensions:$version" const val extensions = "androidx.lifecycle:lifecycle-extensions:$version"
const val viewmodel = "androidx.lifecycle:lifecycle-viewmodel-ktx:$version" const val viewmodelKtx = "androidx.lifecycle:lifecycle-viewmodel-ktx:$version"
} }


object Room { object Room {
Expand Down
4 changes: 2 additions & 2 deletions common-entrygrid/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dependencies {
implementation project(":common-databinding") implementation project(":common-databinding")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


implementation Libs.AndroidX.Paging.runtime implementation Libs.AndroidX.Paging.runtime


Expand All @@ -63,7 +63,7 @@ dependencies {
implementation Libs.AndroidX.coreKtx implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.Fragment.fragmentKtx implementation Libs.AndroidX.Fragment.fragmentKtx
implementation Libs.AndroidX.Navigation.fragment implementation Libs.AndroidX.Navigation.fragment
implementation Libs.AndroidX.Navigation.ui api Libs.AndroidX.Navigation.ui


kapt Libs.Dagger.compiler kapt Libs.Dagger.compiler
} }
2 changes: 1 addition & 1 deletion common-ui-resources/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dependencies {
implementation project(":base-android") implementation project(":base-android")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


api Libs.AndroidX.appcompat api Libs.AndroidX.appcompat
api Libs.Google.material api Libs.Google.material
Expand Down
2 changes: 1 addition & 1 deletion common-ui-view/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencies {
api project(':common-ui-resources') api project(':common-ui-resources')


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


api Libs.AndroidX.appcompat api Libs.AndroidX.appcompat
implementation Libs.AndroidX.recyclerview implementation Libs.AndroidX.recyclerview
Expand Down
1 change: 1 addition & 0 deletions data-android/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ dependencies {
api project(":data") api project(":data")


implementation Libs.AndroidX.Room.runtime implementation Libs.AndroidX.Room.runtime
implementation Libs.AndroidX.Room.ktx
kapt Libs.AndroidX.Room.compiler kapt Libs.AndroidX.Room.compiler


implementation Libs.Roomigrant.library implementation Libs.Roomigrant.library
Expand Down
1 change: 0 additions & 1 deletion data/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ dependencies {
api project(":tmdb") api project(":tmdb")


api Libs.AndroidX.Room.common api Libs.AndroidX.Room.common
api Libs.AndroidX.Room.ktx
implementation Libs.AndroidX.collection implementation Libs.AndroidX.collection


api Libs.AndroidX.Paging.common api Libs.AndroidX.Paging.common
Expand Down
7 changes: 1 addition & 6 deletions presenter-episodedetails/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ dependencies {
implementation project(":common-ui-view") implementation project(":common-ui-view")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx

implementation Libs.AndroidX.Paging.runtime

implementation Libs.Kotlin.stdlib
implementation Libs.Kotlin.reflect


implementation Libs.Dagger.dagger implementation Libs.Dagger.dagger
kapt Libs.Dagger.compiler kapt Libs.Dagger.compiler
Expand Down
2 changes: 1 addition & 1 deletion trakt/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
api (Libs.traktJava) { api (Libs.traktJava) {
exclude group: 'org.threeten', module: 'threetenbp' exclude group: 'org.threeten', module: 'threetenbp'
} }
api Libs.threeTenBpNoTzdb implementation Libs.threeTenBpNoTzdb


implementation project(":base") implementation project(":base")


Expand Down
15 changes: 1 addition & 14 deletions ui-discover/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -55,29 +55,19 @@ dependencies {
implementation project(":common-databinding") implementation project(":common-databinding")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx

implementation Libs.AndroidX.Paging.runtime


implementation Libs.AndroidX.appcompat implementation Libs.AndroidX.appcompat
implementation Libs.AndroidX.browser
implementation Libs.AndroidX.palette
implementation Libs.AndroidX.recyclerview implementation Libs.AndroidX.recyclerview
implementation Libs.AndroidX.swiperefresh implementation Libs.AndroidX.swiperefresh
implementation Libs.AndroidX.emoji
implementation Libs.AndroidX.preference
implementation Libs.AndroidX.constraintlayout implementation Libs.AndroidX.constraintlayout
implementation Libs.AndroidX.coreKtx implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.Fragment.fragment implementation Libs.AndroidX.Fragment.fragment
implementation Libs.AndroidX.Fragment.fragmentKtx implementation Libs.AndroidX.Fragment.fragmentKtx
implementation Libs.AndroidX.Navigation.fragment implementation Libs.AndroidX.Navigation.fragment
implementation Libs.AndroidX.Navigation.ui


implementation Libs.Google.material implementation Libs.Google.material


implementation Libs.Kotlin.stdlib
implementation Libs.Kotlin.reflect

implementation Libs.Dagger.androidSupport implementation Libs.Dagger.androidSupport
kapt Libs.Dagger.compiler kapt Libs.Dagger.compiler
kapt Libs.Dagger.androidProcessor kapt Libs.Dagger.androidProcessor
Expand All @@ -87,8 +77,5 @@ dependencies {


implementation Libs.mvRx implementation Libs.mvRx


implementation Libs.Epoxy.epoxy
implementation Libs.Epoxy.paging
implementation Libs.Epoxy.dataBinding
kapt Libs.Epoxy.processor kapt Libs.Epoxy.processor
} }
12 changes: 1 addition & 11 deletions ui-episodedetails/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -62,16 +62,12 @@ dependencies {
api project(":presenter-episodedetails") api project(":presenter-episodedetails")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


implementation Libs.AndroidX.Paging.runtime implementation Libs.AndroidX.Paging.runtime


implementation Libs.AndroidX.appcompat implementation Libs.AndroidX.appcompat
implementation Libs.AndroidX.browser
implementation Libs.AndroidX.palette
implementation Libs.AndroidX.recyclerview implementation Libs.AndroidX.recyclerview
implementation Libs.AndroidX.emoji
implementation Libs.AndroidX.preference
implementation Libs.AndroidX.constraintlayout implementation Libs.AndroidX.constraintlayout
implementation Libs.AndroidX.coreKtx implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.Fragment.fragment implementation Libs.AndroidX.Fragment.fragment
Expand All @@ -81,9 +77,6 @@ dependencies {


implementation Libs.Google.material implementation Libs.Google.material


implementation Libs.Kotlin.stdlib
implementation Libs.Kotlin.reflect

implementation Libs.Dagger.androidSupport implementation Libs.Dagger.androidSupport
kapt Libs.Dagger.compiler kapt Libs.Dagger.compiler
kapt Libs.Dagger.androidProcessor kapt Libs.Dagger.androidProcessor
Expand All @@ -93,8 +86,5 @@ dependencies {


implementation Libs.mvRx implementation Libs.mvRx


implementation Libs.Epoxy.epoxy
implementation Libs.Epoxy.paging
implementation Libs.Epoxy.dataBinding
kapt Libs.Epoxy.processor kapt Libs.Epoxy.processor
} }
15 changes: 2 additions & 13 deletions ui-followed/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -54,37 +54,29 @@ dependencies {
implementation project(":base") implementation project(":base")
implementation project(":base-android") implementation project(":base-android")
implementation project(':domain') implementation project(':domain')
implementation project(":trakt-auth")
implementation project(":common-ui-view") implementation project(":common-ui-view")
implementation project(":common-epoxy") implementation project(":common-epoxy")
implementation project(":common-layouts") implementation project(":common-layouts")
implementation project(':common-imageloading') implementation project(':common-imageloading')
implementation project(":common-databinding") implementation project(":common-databinding")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


implementation Libs.AndroidX.Paging.runtime implementation Libs.AndroidX.Paging.runtime


implementation Libs.AndroidX.appcompat implementation Libs.AndroidX.appcompat
implementation Libs.AndroidX.browser
implementation Libs.AndroidX.palette
implementation Libs.AndroidX.recyclerview implementation Libs.AndroidX.recyclerview
implementation Libs.AndroidX.swiperefresh implementation Libs.AndroidX.swiperefresh
implementation Libs.AndroidX.emoji
implementation Libs.AndroidX.preference
implementation Libs.AndroidX.constraintlayout implementation Libs.AndroidX.constraintlayout
implementation Libs.AndroidX.coreKtx implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.Fragment.fragment implementation Libs.AndroidX.Fragment.fragment
implementation Libs.AndroidX.Fragment.fragmentKtx implementation Libs.AndroidX.Fragment.fragmentKtx
implementation Libs.AndroidX.Navigation.fragment implementation Libs.AndroidX.Navigation.fragment
implementation Libs.AndroidX.Navigation.ui


implementation Libs.Google.material implementation Libs.Google.material


implementation Libs.Kotlin.stdlib
implementation Libs.Kotlin.reflect

implementation Libs.Dagger.androidSupport implementation Libs.Dagger.androidSupport
kapt Libs.Dagger.compiler kapt Libs.Dagger.compiler
kapt Libs.Dagger.androidProcessor kapt Libs.Dagger.androidProcessor
Expand All @@ -94,8 +86,5 @@ dependencies {


implementation Libs.mvRx implementation Libs.mvRx


implementation Libs.Epoxy.epoxy
implementation Libs.Epoxy.paging
implementation Libs.Epoxy.dataBinding
kapt Libs.Epoxy.processor kapt Libs.Epoxy.processor
} }
14 changes: 1 addition & 13 deletions ui-popular/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -57,29 +57,21 @@ dependencies {
implementation project(":common-entrygrid") implementation project(":common-entrygrid")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


implementation Libs.AndroidX.Paging.runtime implementation Libs.AndroidX.Paging.runtime


implementation Libs.AndroidX.appcompat implementation Libs.AndroidX.appcompat
implementation Libs.AndroidX.browser
implementation Libs.AndroidX.palette
implementation Libs.AndroidX.recyclerview implementation Libs.AndroidX.recyclerview
implementation Libs.AndroidX.swiperefresh implementation Libs.AndroidX.swiperefresh
implementation Libs.AndroidX.emoji
implementation Libs.AndroidX.preference
implementation Libs.AndroidX.constraintlayout implementation Libs.AndroidX.constraintlayout
implementation Libs.AndroidX.coreKtx implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.Fragment.fragment implementation Libs.AndroidX.Fragment.fragment
implementation Libs.AndroidX.Fragment.fragmentKtx implementation Libs.AndroidX.Fragment.fragmentKtx
implementation Libs.AndroidX.Navigation.fragment implementation Libs.AndroidX.Navigation.fragment
implementation Libs.AndroidX.Navigation.ui


implementation Libs.Google.material implementation Libs.Google.material


implementation Libs.Kotlin.stdlib
implementation Libs.Kotlin.reflect

implementation Libs.Dagger.androidSupport implementation Libs.Dagger.androidSupport
kapt Libs.Dagger.compiler kapt Libs.Dagger.compiler
kapt Libs.Dagger.androidProcessor kapt Libs.Dagger.androidProcessor
Expand All @@ -88,8 +80,4 @@ dependencies {
kapt Libs.AssistedInject.processorDagger2 kapt Libs.AssistedInject.processorDagger2


implementation Libs.mvRx implementation Libs.mvRx

implementation Libs.Epoxy.epoxy
implementation Libs.Epoxy.paging
implementation Libs.Epoxy.dataBinding
} }
13 changes: 1 addition & 12 deletions ui-recommended/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -57,17 +57,13 @@ dependencies {
implementation project(":common-entrygrid") implementation project(":common-entrygrid")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


implementation Libs.AndroidX.Paging.runtime implementation Libs.AndroidX.Paging.runtime


implementation Libs.AndroidX.appcompat implementation Libs.AndroidX.appcompat
implementation Libs.AndroidX.browser
implementation Libs.AndroidX.palette
implementation Libs.AndroidX.recyclerview implementation Libs.AndroidX.recyclerview
implementation Libs.AndroidX.swiperefresh implementation Libs.AndroidX.swiperefresh
implementation Libs.AndroidX.emoji
implementation Libs.AndroidX.preference
implementation Libs.AndroidX.constraintlayout implementation Libs.AndroidX.constraintlayout
implementation Libs.AndroidX.coreKtx implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.Fragment.fragment implementation Libs.AndroidX.Fragment.fragment
Expand All @@ -77,9 +73,6 @@ dependencies {


implementation Libs.Google.material implementation Libs.Google.material


implementation Libs.Kotlin.stdlib
implementation Libs.Kotlin.reflect

implementation Libs.Dagger.androidSupport implementation Libs.Dagger.androidSupport
kapt Libs.Dagger.compiler kapt Libs.Dagger.compiler
kapt Libs.Dagger.androidProcessor kapt Libs.Dagger.androidProcessor
Expand All @@ -88,8 +81,4 @@ dependencies {
kapt Libs.AssistedInject.processorDagger2 kapt Libs.AssistedInject.processorDagger2


implementation Libs.mvRx implementation Libs.mvRx

implementation Libs.Epoxy.epoxy
implementation Libs.Epoxy.paging
implementation Libs.Epoxy.dataBinding
} }
13 changes: 1 addition & 12 deletions ui-search/build.gradle
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -62,29 +62,21 @@ dependencies {
implementation project(":common-databinding") implementation project(":common-databinding")


implementation Libs.AndroidX.Lifecycle.extensions implementation Libs.AndroidX.Lifecycle.extensions
implementation Libs.AndroidX.Lifecycle.viewmodel implementation Libs.AndroidX.Lifecycle.viewmodelKtx


implementation Libs.AndroidX.Paging.runtime implementation Libs.AndroidX.Paging.runtime


implementation Libs.AndroidX.appcompat implementation Libs.AndroidX.appcompat
implementation Libs.AndroidX.browser
implementation Libs.AndroidX.palette
implementation Libs.AndroidX.recyclerview implementation Libs.AndroidX.recyclerview
implementation Libs.AndroidX.swiperefresh implementation Libs.AndroidX.swiperefresh
implementation Libs.AndroidX.emoji
implementation Libs.AndroidX.preference
implementation Libs.AndroidX.constraintlayout implementation Libs.AndroidX.constraintlayout
implementation Libs.AndroidX.coreKtx implementation Libs.AndroidX.coreKtx
implementation Libs.AndroidX.Fragment.fragment implementation Libs.AndroidX.Fragment.fragment
implementation Libs.AndroidX.Fragment.fragmentKtx implementation Libs.AndroidX.Fragment.fragmentKtx
implementation Libs.AndroidX.Navigation.fragment implementation Libs.AndroidX.Navigation.fragment
implementation Libs.AndroidX.Navigation.ui


implementation Libs.Google.material implementation Libs.Google.material


implementation Libs.Kotlin.stdlib
implementation Libs.Kotlin.reflect

implementation Libs.Dagger.androidSupport implementation Libs.Dagger.androidSupport
kapt Libs.Dagger.compiler kapt Libs.Dagger.compiler
kapt Libs.Dagger.androidProcessor kapt Libs.Dagger.androidProcessor
Expand All @@ -94,8 +86,5 @@ dependencies {


implementation Libs.mvRx implementation Libs.mvRx


implementation Libs.Epoxy.epoxy
implementation Libs.Epoxy.paging
implementation Libs.Epoxy.dataBinding
kapt Libs.Epoxy.processor kapt Libs.Epoxy.processor
} }
Loading

0 comments on commit 16e686b

Please sign in to comment.