38 lines
901 B
Groovy
38 lines
901 B
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/test_dependencies.gradle"
|
|
|
|
android {
|
|
|
|
namespace 'app.aaps.database.entities'
|
|
defaultConfig {
|
|
minSdkVersion 26 // for wear
|
|
}
|
|
|
|
buildFeatures {
|
|
buildConfig = false
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
|
|
|
|
api "androidx.core:core-ktx:$core_version"
|
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
api "androidx.room:room-ktx:$room_version"
|
|
|
|
}
|
|
|
|
allOpen {
|
|
// allows mocking for classes w/o directly opening them for release builds
|
|
annotation 'info.nightscout.database.annotations.DbOpenForTesting'
|
|
}
|