AndroidAPS/omnipod-dash/build.gradle

32 lines
1.3 KiB
Groovy
Raw Normal View History

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
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-02-09 21:21:30 +01:00
2021-03-14 19:42:02 +01:00
allOpen {
annotation 'info.nightscout.androidaps.plugins.pump.omnipod.dash.annotations.OpenClass'
}
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-02-09 21:21:30 +01:00
dependencies {
2021-02-17 19:34:01 +01:00
implementation project(':core')
2021-02-18 23:31:31 +01:00
implementation project(':omnipod-common')
2021-02-27 23:50:51 +01:00
implementation "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-rxjava2:$room_version"
kapt "androidx.room:room-compiler:$room_version"
implementation 'com.github.guepardoapps:kulid:2.0.0.0'
}