2022-11-08 09:23:46 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
id 'kotlin-allopen'
|
|
|
|
}
|
2020-08-16 23:54:41 +02: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"
|
|
|
|
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"
|
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 {
|
2022-11-09 23:28:48 +01:00
|
|
|
implementation project(':database:entities')
|
2022-11-09 16:49:36 +01:00
|
|
|
implementation project(':database:impl')
|
2022-11-25 22:14:46 +01:00
|
|
|
implementation project(':core:libraries')
|
|
|
|
implementation project(':core:interfaces')
|
2023-09-18 23:28:32 +02:00
|
|
|
implementation project(':core:main')
|
2022-11-21 20:26:06 +01:00
|
|
|
implementation project(':core:utils')
|
2022-11-14 10:58:59 +01:00
|
|
|
implementation project(':core:ui')
|
2022-12-02 10:56:11 +01:00
|
|
|
implementation project(':core:validators')
|
2022-11-02 11:56:54 +01:00
|
|
|
implementation project(':pump:pump-common')
|
|
|
|
implementation project(':pump:rileylink')
|
|
|
|
implementation project(':pump:omnipod-common')
|
2021-10-18 00:06:45 +02:00
|
|
|
|
2023-09-21 16:44:55 +02:00
|
|
|
testImplementation project(':shared:impl')
|
2023-09-18 21:00:54 +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
|
|
|
|
2023-09-21 16:44:55 +02:00
|
|
|
testImplementation project(':shared:tests')
|
2021-10-18 00:06:45 +02:00
|
|
|
// optional - Test helpers
|
|
|
|
testImplementation("androidx.room:room-testing:$room_version")
|
2023-09-07 23:59:35 +02:00
|
|
|
testImplementation project(':implementation')
|
2020-08-16 23:54:41 +02:00
|
|
|
}
|