2022-11-08 09:23:46 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
id 'kotlin-allopen'
|
|
|
|
id 'kotlin-parcelize'
|
|
|
|
id 'kotlinx-serialization'
|
|
|
|
}
|
2022-11-06 17:48:42 +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"
|
2023-09-18 23:58:37 +02:00
|
|
|
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"
|
2022-11-06 17:48:42 +01:00
|
|
|
|
|
|
|
android {
|
|
|
|
|
2023-09-24 22:55:31 +02:00
|
|
|
namespace 'app.aaps.core.interfaces'
|
2023-09-18 23:28:32 +02:00
|
|
|
defaultConfig {
|
2023-09-25 18:01:31 +02:00
|
|
|
minSdkVersion 26 // for wear
|
2023-09-18 23:28:32 +02:00
|
|
|
}
|
2022-11-06 17:48:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-11-10 09:40:49 +01:00
|
|
|
implementation project(':database:entities')
|
2022-11-08 11:08:14 +01:00
|
|
|
|
2022-11-06 23:10:04 +01:00
|
|
|
api "androidx.appcompat:appcompat:$appcompat_version"
|
2023-09-18 23:58:37 +02:00
|
|
|
api "androidx.preference:preference-ktx:$preferencektx_version"
|
|
|
|
api "net.danlew:android.joda:$joda_version"
|
|
|
|
|
2022-11-06 23:58:05 +01:00
|
|
|
|
|
|
|
api "com.google.dagger:dagger:$dagger_version"
|
|
|
|
api "com.google.dagger:dagger-android:$dagger_version"
|
2023-09-18 23:58:37 +02:00
|
|
|
api "com.google.dagger:dagger-android-support:$dagger_version"
|
|
|
|
|
|
|
|
//Logger
|
|
|
|
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'
|
|
|
|
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinx_serialization_version"
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-serialization-protobuf:$kotlinx_serialization_version"
|
|
|
|
api "com.caverock:androidsvg:$caverock_androidsvg_version"
|
|
|
|
api "org.apache.commons:commons-lang3:$commonslang3_version"
|
|
|
|
|
|
|
|
//RxBus
|
|
|
|
api "io.reactivex.rxjava3:rxjava:$rxjava_version"
|
|
|
|
api "io.reactivex.rxjava3:rxkotlin:$rxkotlin_version"
|
|
|
|
api "io.reactivex.rxjava3:rxandroid:$rxandroid_version"
|
2022-11-28 09:25:19 +01:00
|
|
|
|
|
|
|
// WorkerClasses
|
|
|
|
api "androidx.work:work-runtime-ktx:$work_version"
|
2022-11-06 17:48:42 +01:00
|
|
|
}
|