53 lines
1.8 KiB
Groovy
53 lines
1.8 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
id 'kotlin-kapt'
|
|
id 'kotlin-allopen'
|
|
}
|
|
|
|
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"
|
|
|
|
android {
|
|
|
|
namespace 'info.nightscout.androidaps.plugins.pump.omnipod.eros'
|
|
defaultConfig {
|
|
kapt {
|
|
arguments {
|
|
arg("room.incremental", "true")
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':database:entities')
|
|
implementation project(':database:impl')
|
|
implementation project(':app-wear-shared:shared')
|
|
implementation project(':core:libraries')
|
|
implementation project(':core:interfaces')
|
|
implementation project(':core:main')
|
|
implementation project(':core:utils')
|
|
implementation project(':core:ui')
|
|
implementation project(':core:validators')
|
|
implementation project(':pump:pump-common')
|
|
implementation project(':pump:rileylink')
|
|
implementation project(':pump:omnipod-common')
|
|
|
|
testImplementation project(':app-wear-shared:shared-impl')
|
|
|
|
api "androidx.room:room-ktx:$room_version"
|
|
api "androidx.room:room-runtime:$room_version"
|
|
api "androidx.room:room-rxjava3:$room_version"
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
|
|
testImplementation project(':app-wear-shared:shared-tests')
|
|
// optional - Test helpers
|
|
testImplementation("androidx.room:room-testing:$room_version")
|
|
testImplementation project(':implementation')
|
|
}
|