2020-08-16 23:54:41 +02:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
2021-09-21 21:57:56 +02:00
|
|
|
apply plugin: 'kotlin-allopen'
|
2021-02-18 23:35:23 +01:00
|
|
|
apply plugin: 'com.hiya.jacoco-android'
|
2020-08-16 23:54:41 +02: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"
|
2020-08-16 23:54:41 +02:00
|
|
|
|
2021-11-18 15:47:42 +01:00
|
|
|
android {
|
2022-06-06 10:25:08 +02:00
|
|
|
|
|
|
|
namespace 'info.nightscout.androidaps.plugins.pump.omnipod.eros'
|
2021-11-18 15:47:42 +01:00
|
|
|
defaultConfig {
|
|
|
|
kapt {
|
|
|
|
arguments {
|
|
|
|
arg("room.incremental", "true")
|
|
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-16 23:54:41 +02:00
|
|
|
dependencies {
|
2021-11-18 15:47:42 +01:00
|
|
|
implementation project(':database')
|
2022-11-06 12:28:35 +01:00
|
|
|
implementation project(':app-wear-shared:rx')
|
|
|
|
implementation project(':app-wear-shared:shared')
|
2022-11-02 11:56:54 +01:00
|
|
|
implementation project(':libraries')
|
|
|
|
implementation project(':core')
|
|
|
|
implementation project(':pump:pump-common')
|
|
|
|
implementation project(':pump:rileylink')
|
|
|
|
implementation project(':pump:omnipod-common')
|
2022-11-06 17:48:42 +01:00
|
|
|
implementation project(':interfaces')
|
2021-10-18 00:06:45 +02: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-11-18 15:47:42 +01:00
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
2021-10-18 00:06:45 +02:00
|
|
|
|
|
|
|
// optional - Test helpers
|
|
|
|
testImplementation("androidx.room:room-testing:$room_version")
|
2020-08-16 23:54:41 +02:00
|
|
|
}
|