2020-05-09 20:18:12 +02:00
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-kapt'
|
2021-02-18 18:54:01 +01:00
|
|
|
apply plugin: 'com.hiya.jacoco-android'
|
2020-05-09 20:18:12 +02: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"
|
2020-05-09 20:18:12 +02:00
|
|
|
|
2021-02-18 23:35:23 +01:00
|
|
|
|
|
|
|
android {
|
2020-05-09 20:18:12 +02:00
|
|
|
defaultConfig {
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
2021-05-03 10:56:26 +02:00
|
|
|
kapt {
|
|
|
|
arguments {
|
|
|
|
arg("room.incremental", "true")
|
|
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
|
|
}
|
|
|
|
}
|
2020-05-09 20:18:12 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation project(':core')
|
2021-05-03 09:33:14 +02:00
|
|
|
|
|
|
|
api "androidx.room:room-ktx:$room_version"
|
|
|
|
api "androidx.room:room-runtime:$room_version"
|
|
|
|
api "androidx.room:room-rxjava2:$room_version"
|
|
|
|
kapt "androidx.room:room-compiler:$room_version"
|
|
|
|
kapt "android.arch.persistence.room:compiler:$room_version"
|
2021-02-18 23:35:23 +01:00
|
|
|
}
|