AndroidAPS/interfaces/build.gradle

29 lines
875 B
Groovy
Raw Normal View History

2022-11-06 17:48:42 +01:00
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-allopen'
2022-11-06 18:21:10 +01:00
apply plugin: 'kotlin-parcelize'
2022-11-06 17:48:42 +01:00
apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'kotlinx-serialization'
apply from: "${project.rootDir}/core/android_dependencies.gradle"
apply from: "${project.rootDir}/core/android_module_dependencies.gradle"
android {
namespace 'info.nightscout.interfaces'
}
dependencies {
2022-11-06 23:10:04 +01:00
api "androidx.appcompat:appcompat:$appcompat_version"
2022-11-06 23:58:05 +01:00
api "androidx.preference:preference-ktx:$preferencektx_version"
// Dagger
api "com.google.dagger:dagger:$dagger_version"
api "com.google.dagger:dagger-android:$dagger_version"
2022-11-06 21:35:34 +01:00
}
2022-11-06 23:10:04 +01:00
2022-11-06 21:35:34 +01:00
allOpen {
// allows mocking for classes w/o directly opening them for release builds
annotation 'info.nightscout.interfaces.annotations.InterfacesOpenForTesting'
2022-11-06 17:48:42 +01:00
}