AndroidAPS/interfaces/build.gradle

31 lines
838 B
Groovy
Raw Normal View History

plugins {
id 'com.android.library'
id 'kotlin-android'
id 'kotlin-kapt'
id 'kotlin-allopen'
id 'kotlin-parcelize'
id 'kotlinx-serialization'
id 'com.hiya.jacoco-android'
}
2022-11-06 17:48:42 +01:00
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
}