AndroidAPS/omnipod-eros/build.gradle

40 lines
1.2 KiB
Groovy
Raw Permalink Normal View History

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'
2021-02-18 23:35:23 +01:00
apply from: "${project.rootDir}/gradle/android_dependencies.gradle"
apply from: "${project.rootDir}/gradle/android_module_dependencies.gradle"
apply from: "${project.rootDir}/gradle/test_dependencies.gradle"
2021-07-09 20:02:22 +02:00
apply from: "${project.rootDir}/gradle/jacoco_global.gradle"
2021-11-18 15:47:42 +01:00
android {
defaultConfig {
kapt {
arguments {
arg("room.incremental", "true")
arg("room.schemaLocation", "$projectDir/schemas")
}
}
}
}
dependencies {
implementation project(':core')
implementation project(':pump-common')
2021-02-18 23:31:31 +01:00
implementation project(':omnipod-common')
implementation project(':rileylink')
2021-11-18 15:47:42 +01:00
implementation project(':database')
2021-12-10 12:17:03 +01:00
implementation project(':shared')
2021-11-18 15:47:42 +01:00
2021-11-18 15:47:42 +01:00
api "androidx.room:room-ktx:$room_version"
api "androidx.room:room-runtime:$room_version"
api "androidx.room:room-rxjava2:$room_version"
kapt "androidx.room:room-compiler:$room_version"
// optional - Test helpers
testImplementation("androidx.room:room-testing:$room_version")
}