2023-10-04 09:55:54 +02:00
|
|
|
plugins {
|
|
|
|
id("com.android.library")
|
|
|
|
id("kotlin-android")
|
|
|
|
id("kotlin-kapt")
|
|
|
|
id("kotlin-parcelize")
|
|
|
|
id("kotlinx-serialization")
|
2023-10-12 13:58:17 +02:00
|
|
|
id("android-module-dependencies")
|
2023-10-14 23:24:34 +02:00
|
|
|
id("test-dependencies")
|
2023-10-04 09:55:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
apply(from = "${project.rootDir}/core/main/jacoco_global.gradle")
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
|
|
|
namespace = "app.aaps.core.interfaces"
|
|
|
|
defaultConfig {
|
2023-10-12 13:58:17 +02:00
|
|
|
minSdk = Versions.wearMinSdk // for wear
|
2023-10-04 09:55:54 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation(project(":database:entities"))
|
|
|
|
|
|
|
|
api(Libs.AndroidX.appCompat)
|
|
|
|
api(Libs.AndroidX.preference)
|
2023-10-18 15:14:14 +02:00
|
|
|
api(Libs.jodaTimeAndroid)
|
2023-10-04 09:55:54 +02:00
|
|
|
|
|
|
|
api(Libs.Dagger.androidSupport)
|
|
|
|
|
|
|
|
//Logger
|
|
|
|
api(Libs.Logging.slf4jApi)
|
|
|
|
api(Libs.Logging.logbackAndroid)
|
|
|
|
|
2023-10-16 15:20:50 +02:00
|
|
|
api(Libs.Google.Android.PlayServices.measurementApi)
|
2023-10-04 09:55:54 +02:00
|
|
|
|
|
|
|
api(Libs.KotlinX.serializationJson)
|
|
|
|
api(Libs.KotlinX.serializationProtobuf)
|
|
|
|
|
|
|
|
api(Libs.androidSvg)
|
|
|
|
api(Libs.Apache.commonsLang3)
|
|
|
|
|
|
|
|
//RxBus
|
|
|
|
api(Libs.Rx.rxJava)
|
|
|
|
api(Libs.Rx.rxKotlin)
|
|
|
|
api(Libs.Rx.rxAndroid)
|
|
|
|
|
|
|
|
// WorkerClasses
|
2023-10-18 17:04:02 +02:00
|
|
|
api(Libs.AndroidX.Work.runtimeKtx)
|
2023-10-18 15:14:14 +02:00
|
|
|
|
|
|
|
// TODO eliminate kapt from low level modules
|
|
|
|
kapt(Libs.Dagger.compiler)
|
|
|
|
kapt(Libs.Dagger.androidProcessor)
|
2023-10-04 09:55:54 +02:00
|
|
|
}
|