45 lines
1.4 KiB
Groovy
45 lines
1.4 KiB
Groovy
|
apply plugin: 'com.android.library'
|
||
|
apply plugin: 'kotlin-android'
|
||
|
apply plugin: 'kotlin-kapt'
|
||
|
apply plugin: 'kotlin-allopen'
|
||
|
apply plugin: 'com.hiya.jacoco-android'
|
||
|
|
||
|
apply from: "${project.rootDir}/gradle/android_dependencies.gradle"
|
||
|
apply from: "${project.rootDir}/gradle/android_module_dependencies.gradle"
|
||
|
apply from: "${project.rootDir}/gradle/test_dependencies.gradle"
|
||
|
apply from: "${project.rootDir}/gradle/jacoco_global.gradle"
|
||
|
|
||
|
android {
|
||
|
dataBinding {
|
||
|
enabled = true
|
||
|
}
|
||
|
}
|
||
|
|
||
|
allprojects {
|
||
|
repositories {
|
||
|
flatDir {
|
||
|
dirs 'libs'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||
|
implementation (name: 'eopatch_core', ext: 'aar')
|
||
|
implementation project(':core')
|
||
|
implementation project(':shared')
|
||
|
implementation project(':database')
|
||
|
|
||
|
implementation 'androidx.core:core-ktx:1.6.0'
|
||
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||
|
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
|
||
|
|
||
|
// RxJava
|
||
|
implementation "io.reactivex.rxjava2:rxjava:$rxjava_version"
|
||
|
implementation "io.reactivex.rxjava2:rxkotlin:$rxkotlin_version"
|
||
|
implementation "io.reactivex.rxjava2:rxandroid:$rxandroid_version"
|
||
|
|
||
|
//RxAndroidBle
|
||
|
implementation "com.polidea.rxandroidble2:rxandroidble:$rxandroidble_version"
|
||
|
implementation "com.jakewharton.rx2:replaying-share:$replayshare_version"
|
||
|
}
|