mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-23 06:08:52 +01:00
Organize dependencies
This commit is contained in:
@@ -1,11 +1,20 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
|
ext.autodispose_version = '0.5.1'
|
||||||
ext.kotlin_version = '1.2.20'
|
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 {
|
repositories {
|
||||||
maven { url 'https://maven.google.com' }
|
maven { url 'https://maven.google.com' }
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.0.1'
|
classpath 'com.android.tools.build:gradle:3.0.1'
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||||
|
|||||||
+49
-39
@@ -45,45 +45,55 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
// lifecycle
|
||||||
exclude group: 'com.android.support', module: 'support-annotations'
|
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"
|
implementation "androidx.core:core-ktx:0.1"
|
||||||
compile "android.arch.lifecycle:runtime:1.0.3"
|
implementation "com.android.billingclient:billing:1.0"
|
||||||
compile 'androidx.core:core-ktx:0.1'
|
implementation "com.android.support.constraint:constraint-layout:1.1.0-beta4"
|
||||||
compile 'com.android.billingclient:billing:1.0'
|
implementation "com.bugsnag:bugsnag-android:4.1.1"
|
||||||
compile 'com.android.support:appcompat-v7:27.0.2'
|
implementation "com.github.chrisbanes:PhotoView:2.0.0"
|
||||||
compile 'com.android.support.constraint:constraint-layout:1.1.0-beta4'
|
implementation "com.f2prateek.rx.preferences2:rx-preferences:2.0.0-RC3"
|
||||||
compile 'com.android.support:design:27.0.2'
|
implementation "com.github.bumptech.glide:glide:4.3.0"
|
||||||
compile 'com.bugsnag:bugsnag-android:4.1.1'
|
implementation "com.google.android:flexbox:0.3.1"
|
||||||
compile 'com.github.chrisbanes:PhotoView:2.0.0'
|
implementation "com.google.dagger:dagger:2.11"
|
||||||
compile 'com.f2prateek.rx.preferences2:rx-preferences:2.0.0-RC3'
|
implementation "com.jakewharton.timber:timber:4.5.1"
|
||||||
compile 'com.github.bumptech.glide:glide:4.3.0'
|
implementation "com.mlsdev.rximagepicker:library:2.0.2"
|
||||||
compile 'com.google.android:flexbox:0.3.1'
|
implementation "io.reactivex.rxjava2:rxandroid:2.0.1"
|
||||||
compile "com.google.dagger:dagger:2.11"
|
implementation "io.reactivex.rxjava2:rxjava:2.1.4"
|
||||||
compile 'com.jakewharton.rxbinding2:rxbinding-kotlin:2.0.0'
|
implementation "io.reactivex.rxjava2:rxkotlin:2.1.0"
|
||||||
compile 'com.jakewharton.rxbinding2:rxbinding-support-v4-kotlin:2.0.0'
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
|
||||||
compile 'com.jakewharton.timber:timber:4.5.1'
|
implementation project(":android-smsmms")
|
||||||
compile 'com.mlsdev.rximagepicker:library:2.0.2'
|
kapt "com.github.bumptech.glide:compiler:4.3.0"
|
||||||
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'
|
|
||||||
kapt "com.google.dagger:dagger-compiler:2.11"
|
kapt "com.google.dagger:dagger-compiler:2.11"
|
||||||
kapt 'io.realm:realm-annotations:4.3.1'
|
testCompile "com.android.support.test:runner:1.0.1"
|
||||||
kapt 'io.realm:realm-annotations-processor:4.3.1'
|
testCompile "junit:junit:4.12"
|
||||||
testCompile 'com.android.support.test:runner:1.0.1'
|
testCompile "org.mockito:mockito-core:1.10.19"
|
||||||
testCompile 'junit:junit:4.12'
|
provided "javax.annotation:jsr250-api:1.0"
|
||||||
testCompile 'org.mockito:mockito-core:1.10.19'
|
withAnalyticsCompile "com.amplitude:android-sdk:2.16.0"
|
||||||
provided 'javax.annotation:jsr250-api:1.0'
|
withAnalyticsCompile "com.mixpanel.android:mixpanel-android:5.2.1"
|
||||||
withAnalyticsCompile 'com.amplitude:android-sdk:2.16.0'
|
|
||||||
withAnalyticsCompile 'com.mixpanel.android:mixpanel-android:5.2.1'
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user