2022-11-09 23:28:48 +01:00
|
|
|
plugins {
|
|
|
|
id 'com.android.library'
|
|
|
|
id 'kotlin-android'
|
|
|
|
id 'kotlin-kapt'
|
|
|
|
id 'kotlin-allopen'
|
|
|
|
}
|
|
|
|
|
2022-12-02 10:56:11 +01:00
|
|
|
apply from: "${project.rootDir}/core/main/android_dependencies.gradle"
|
2023-08-03 11:03:57 +02:00
|
|
|
apply from: "${project.rootDir}/core/main/android_module_dependencies.gradle"
|
2023-04-17 22:19:03 +02:00
|
|
|
apply from: "${project.rootDir}/core/main/test_dependencies.gradle"
|
2022-11-09 23:28:48 +01:00
|
|
|
|
|
|
|
android {
|
|
|
|
|
2023-09-25 18:01:31 +02:00
|
|
|
namespace 'app.aaps.database.entities'
|
2023-09-18 23:28:32 +02:00
|
|
|
defaultConfig {
|
2023-09-25 18:01:31 +02:00
|
|
|
minSdkVersion 26 // for wear
|
2023-09-18 23:28:32 +02:00
|
|
|
}
|
2022-11-11 19:27:47 +01:00
|
|
|
|
|
|
|
buildFeatures {
|
|
|
|
buildConfig = false
|
|
|
|
}
|
2022-11-09 23:28:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
2022-11-13 17:34:20 +01:00
|
|
|
annotation 'info.nightscout.database.annotations.DbOpenForTesting'
|
2023-04-17 22:19:03 +02:00
|
|
|
}
|