2021-02-11 11:01:18 +01:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
2021-03-14 19:42:02 +01:00
|
|
|
apply plugin: 'kotlin-allopen'
|
2021-02-18 23:35:23 +01:00
|
|
|
apply plugin: 'com.hiya.jacoco-android'
|
2021-03-01 12:34:47 +01:00
|
|
|
apply plugin: "io.gitlab.arturbosch.detekt" // TODO move to `subprojects` section in global build.gradle
|
|
|
|
apply plugin: "org.jlleitschuh.gradle.ktlint" // TODO move to `subprojects` section in global build.gradle
|
2021-02-09 21:21:30 +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-02-09 21:21:30 +01:00
|
|
|
|
2021-03-01 12:34:47 +01:00
|
|
|
detekt { // TODO move to `subprojects` section in global build.gradle
|
|
|
|
toolVersion = "1.15.0-RC2"
|
|
|
|
config = files("./detekt-config.yml") // TODO move to global space and use "../detekt-config.yml"
|
|
|
|
}
|
|
|
|
|
2021-11-18 15:47:42 +01:00
|
|
|
android {
|
2022-06-06 10:25:08 +02:00
|
|
|
|
|
|
|
namespace 'info.nightscout.androidaps.plugins.pump.omnipod.dash'
|
2021-11-18 15:47:42 +01:00
|
|
|
defaultConfig {
|
|
|
|
kapt {
|
|
|
|
arguments {
|
|
|
|
arg("room.incremental", "true")
|
|
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-09 21:21:30 +01:00
|
|
|
dependencies {
|
2022-10-27 16:41:07 +02:00
|
|
|
implementation(files("${rootProject.rootDir}/libs/iconify.aar"))
|
|
|
|
|
2021-02-17 19:34:01 +01:00
|
|
|
implementation project(':core')
|
2021-10-23 02:07:14 +02:00
|
|
|
implementation project(':pump-common')
|
2021-02-18 23:31:31 +01:00
|
|
|
implementation project(':omnipod-common')
|
2021-11-18 15:47:42 +01:00
|
|
|
implementation project(':database')
|
2021-12-10 12:17:03 +01:00
|
|
|
implementation project(':shared')
|
2021-02-27 23:50:51 +01:00
|
|
|
|
2021-11-18 15:47:42 +01:00
|
|
|
api "androidx.room:room-ktx:$room_version"
|
|
|
|
api "androidx.room:room-runtime:$room_version"
|
2022-02-10 19:11:58 +01:00
|
|
|
api "androidx.room:room-rxjava3:$room_version"
|
2021-02-27 23:50:51 +01:00
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
2021-11-18 15:47:42 +01:00
|
|
|
|
|
|
|
api 'com.github.guepardoapps:kulid:2.0.0.0'
|
2021-02-26 23:56:39 +01:00
|
|
|
}
|