Organize dependencies

This commit is contained in:
Moez Bhatti
2018-03-05 22:29:52 -05:00
parent b274e1666b
commit 9e0aaaf7a4
2 changed files with 58 additions and 39 deletions
+9
View File
@@ -1,11 +1,20 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.autodispose_version = '0.5.1'
ext.kotlin_version = '1.2.20'
ext.lifecycle_version = '1.0.0'
ext.realm_version = '4.3.1'
ext.realm_adapters_version = '2.1.0'
ext.rxbinding_version = '2.0.0'
ext.support_version = '27.0.2'
repositories {
maven { url 'https://maven.google.com' }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+49 -39
View File
@@ -45,45 +45,55 @@ android {
}
dependencies {
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
// lifecycle
implementation "android.arch.lifecycle:extensions:$lifecycle_version"
implementation "android.arch.lifecycle:runtime:$lifecycle_version"
kapt "android.arch.lifecycle:compiler:$lifecycle_version"
// support
implementation "com.android.support:appcompat-v7:$support_version"
implementation "com.android.support:design:$support_version"
// rxbinding
implementation "com.jakewharton.rxbinding2:rxbinding-kotlin:$rxbinding_version"
implementation "com.jakewharton.rxbinding2:rxbinding-support-v4-kotlin:$rxbinding_version"
// autodispose
implementation "com.uber.autodispose:autodispose-android-archcomponents-kotlin:$autodispose_version"
implementation "com.uber.autodispose:autodispose-android-archcomponents-test-kotlin:$autodispose_version"
implementation "com.uber.autodispose:autodispose-android-kotlin:$autodispose_version"
implementation "com.uber.autodispose:autodispose-kotlin:$autodispose_version"
// realm
implementation("io.realm:android-adapters:$realm_adapters_version") { transitive = false }
kapt "io.realm:realm-annotations:$realm_version"
kapt "io.realm:realm-annotations-processor:$realm_version"
androidTestCompile("com.android.support.test.espresso:espresso-core:2.2.2", {
exclude group: "com.android.support", module: "support-annotations"
})
compile "android.arch.lifecycle:extensions:1.0.0"
compile "android.arch.lifecycle:runtime:1.0.3"
compile 'androidx.core:core-ktx:0.1'
compile 'com.android.billingclient:billing:1.0'
compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.android.support.constraint:constraint-layout:1.1.0-beta4'
compile 'com.android.support:design:27.0.2'
compile 'com.bugsnag:bugsnag-android:4.1.1'
compile 'com.github.chrisbanes:PhotoView:2.0.0'
compile 'com.f2prateek.rx.preferences2:rx-preferences:2.0.0-RC3'
compile 'com.github.bumptech.glide:glide:4.3.0'
compile 'com.google.android:flexbox:0.3.1'
compile "com.google.dagger:dagger:2.11"
compile 'com.jakewharton.rxbinding2:rxbinding-kotlin:2.0.0'
compile 'com.jakewharton.rxbinding2:rxbinding-support-v4-kotlin:2.0.0'
compile 'com.jakewharton.timber:timber:4.5.1'
compile 'com.mlsdev.rximagepicker:library:2.0.2'
compile 'com.uber.autodispose:autodispose-android-archcomponents-kotlin:0.5.1'
compile 'com.uber.autodispose:autodispose-android-archcomponents-test-kotlin:0.5.1'
compile 'com.uber.autodispose:autodispose-android-kotlin:0.5.1'
compile 'com.uber.autodispose:autodispose-kotlin:0.5.1'
compile 'io.reactivex.rxjava2:rxandroid:2.0.1'
compile "io.reactivex.rxjava2:rxjava:2.1.4"
compile 'io.reactivex.rxjava2:rxkotlin:2.1.0'
compile('io.realm:android-adapters:2.1.0') { transitive = false }
compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
compile project(":android-smsmms")
kapt "android.arch.lifecycle:compiler:1.0.0"
kapt 'com.github.bumptech.glide:compiler:4.3.0'
implementation "androidx.core:core-ktx:0.1"
implementation "com.android.billingclient:billing:1.0"
implementation "com.android.support.constraint:constraint-layout:1.1.0-beta4"
implementation "com.bugsnag:bugsnag-android:4.1.1"
implementation "com.github.chrisbanes:PhotoView:2.0.0"
implementation "com.f2prateek.rx.preferences2:rx-preferences:2.0.0-RC3"
implementation "com.github.bumptech.glide:glide:4.3.0"
implementation "com.google.android:flexbox:0.3.1"
implementation "com.google.dagger:dagger:2.11"
implementation "com.jakewharton.timber:timber:4.5.1"
implementation "com.mlsdev.rximagepicker:library:2.0.2"
implementation "io.reactivex.rxjava2:rxandroid:2.0.1"
implementation "io.reactivex.rxjava2:rxjava:2.1.4"
implementation "io.reactivex.rxjava2:rxkotlin:2.1.0"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
implementation project(":android-smsmms")
kapt "com.github.bumptech.glide:compiler:4.3.0"
kapt "com.google.dagger:dagger-compiler:2.11"
kapt 'io.realm:realm-annotations:4.3.1'
kapt 'io.realm:realm-annotations-processor:4.3.1'
testCompile 'com.android.support.test:runner:1.0.1'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:1.10.19'
provided 'javax.annotation:jsr250-api:1.0'
withAnalyticsCompile 'com.amplitude:android-sdk:2.16.0'
withAnalyticsCompile 'com.mixpanel.android:mixpanel-android:5.2.1'
testCompile "com.android.support.test:runner:1.0.1"
testCompile "junit:junit:4.12"
testCompile "org.mockito:mockito-core:1.10.19"
provided "javax.annotation:jsr250-api:1.0"
withAnalyticsCompile "com.amplitude:android-sdk:2.16.0"
withAnalyticsCompile "com.mixpanel.android:mixpanel-android:5.2.1"
}