AndroidAPS/app-wear-shared/shared/build.gradle

44 lines
1.5 KiB
Groovy
Raw Normal View History

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-kapt'
id 'kotlinx-serialization'
id 'kotlin-allopen'
}
2021-12-10 08:58:23 +01:00
2022-12-02 10:56:11 +01:00
apply from: "${project.rootDir}/core/main/android_dependencies.gradle"
apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle"
apply from: "${project.rootDir}/core/main/allopen_dependencies.gradle"
apply from: "${project.rootDir}/core/main/test_dependencies.gradle"
apply from: "${project.rootDir}/core/main/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 {
2023-08-03 16:44:27 +02:00
minSdkVersion 25 // for wear
2021-12-10 08:58:23 +01:00
}
}
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-08-15 11:25:11 +02:00
api "net.danlew:android.joda:$joda_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-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
2023-02-27 15:57:27 +01:00
api "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinx_serialization_version"
2023-08-04 14:59:08 +02:00
api "org.jetbrains.kotlinx:kotlinx-serialization-protobuf:$kotlinx_serialization_version"
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
}