30 lines
864 B
Groovy
30 lines
864 B
Groovy
|
apply plugin: 'com.android.library'
|
||
|
apply plugin: 'kotlin-android'
|
||
|
apply plugin: 'kotlin-kapt'
|
||
|
apply plugin: 'com.hiya.jacoco-android'
|
||
|
|
||
|
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"
|
||
|
|
||
|
android {
|
||
|
defaultConfig {
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
kapt {
|
||
|
arguments {
|
||
|
arg("room.incremental", "true")
|
||
|
arg("room.schemaLocation", "$projectDir/schemas")
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation project(':core')
|
||
|
|
||
|
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"
|
||
|
}
|