2021-12-10 08:58:23 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
apply plugin: 'kotlin-allopen'
|
|
|
|
apply plugin: 'com.hiya.jacoco-android'
|
2022-04-11 14:25:00 +02:00
|
|
|
apply plugin: '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/test_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
|
|
|
|
|
|
|
namespace 'info.nightscout.shared'
|
2021-12-10 08:58:23 +01:00
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion 23 // for wear
|
|
|
|
}
|
|
|
|
}
|
2021-12-10 12:17:03 +01:00
|
|
|
|
|
|
|
dependencies {
|
2021-12-10 15:19:19 +01:00
|
|
|
api "androidx.preference:preference-ktx:$preferencektx_version"
|
2022-04-24 17:20:29 +02:00
|
|
|
api "net.danlew:android.joda:$joga_version"
|
2021-12-10 15:19:19 +01:00
|
|
|
|
2021-12-10 12:17:03 +01:00
|
|
|
// for old fashioned support-app version (wear)
|
|
|
|
api "com.google.dagger:dagger:$dagger_version"
|
|
|
|
api "com.google.dagger:dagger-android:$dagger_version"
|
|
|
|
api "com.google.dagger:dagger-android-support:$dagger_version"
|
|
|
|
|
2021-12-10 15:19:19 +01:00
|
|
|
//Logger
|
2022-02-09 09:09:47 +01:00
|
|
|
api 'org.slf4j:slf4j-api:1.7.36'
|
2021-12-10 15:19:19 +01:00
|
|
|
api("com.github.tony19:logback-android-classic:1.1.1-6") {
|
|
|
|
exclude group: "com.google.android", module: "android"
|
|
|
|
}
|
|
|
|
|
2022-05-13 10:10:54 +02:00
|
|
|
api "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3"
|
2022-04-11 14:25:00 +02:00
|
|
|
api "org.apache.commons:commons-lang3:$commonslang3_version"
|
|
|
|
|
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"
|
2021-12-10 12:17:03 +01:00
|
|
|
}
|