2022-11-08 09:23:46 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
id 'kotlin-allopen'
|
|
|
|
id 'com.hiya.jacoco-android'
|
|
|
|
id 'kotlinx-serialization'
|
|
|
|
}
|
2021-12-10 08:58:23 +01:00
|
|
|
|
2022-05-11 10:18:14 +02:00
|
|
|
apply from: "${project.rootDir}/core/android_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/android_module_dependencies.gradle"
|
|
|
|
apply from: "${project.rootDir}/core/jacoco_global.gradle"
|
2021-12-10 08:58:23 +01:00
|
|
|
|
|
|
|
android {
|
2022-06-06 10:25:08 +02:00
|
|
|
|
2022-11-06 12:28:35 +01:00
|
|
|
namespace 'info.nightscout.rx'
|
2021-12-10 08:58:23 +01:00
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 23 // for wear
|
|
|
|
}
|
|
|
|
}
|
2021-12-10 12:17:03 +01:00
|
|
|
dependencies {
|
|
|
|
api "com.google.dagger:dagger:$dagger_version"
|
|
|
|
api "com.google.dagger:dagger-android:$dagger_version"
|
|
|
|
|
2021-12-10 15:19:19 +01:00
|
|
|
//Logger
|
2022-09-21 11:10:17 +02:00
|
|
|
api 'org.slf4j:slf4j-api:1.7.36' // 2.0.x breaks logging. Code change needed
|
|
|
|
api 'com.github.tony19:logback-android:2.0.0'
|
2021-12-10 15:19:19 +01:00
|
|
|
|
2021-12-11 00:27:17 +01:00
|
|
|
//RxBus
|
2022-02-10 19:11:58 +01:00
|
|
|
api "io.reactivex.rxjava3:rxjava:$rxjava_version"
|
|
|
|
api "io.reactivex.rxjava3:rxkotlin:$rxkotlin_version"
|
|
|
|
api "io.reactivex.rxjava3:rxandroid:$rxandroid_version"
|
2022-11-06 12:28:35 +01:00
|
|
|
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"
|
|
|
|
api "org.apache.commons:commons-lang3:$commonslang3_version"
|
|
|
|
}
|