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-19 22:48:49 +02:00
|
|
|
id("test-module-dependencies")
|
2023-10-20 10:49:54 +02:00
|
|
|
id("jacoco-module-dependencies")
|
2023-10-04 09:55:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
}
|