52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
plugins {
|
|
id("com.android.library")
|
|
id("kotlin-android")
|
|
id("kotlin-kapt")
|
|
id("kotlin-allopen")
|
|
id("android-module-dependencies")
|
|
id("test-dependencies")
|
|
}
|
|
|
|
apply(from = "${project.rootDir}/core/main/jacoco_global.gradle")
|
|
|
|
android {
|
|
namespace = "app.aaps.database.impl"
|
|
|
|
defaultConfig {
|
|
kapt {
|
|
arguments {
|
|
arg("room.incremental", "true")
|
|
arg("room.schemaLocation", "$projectDir/schemas")
|
|
}
|
|
}
|
|
}
|
|
sourceSets {
|
|
getByName("androidTest").assets.srcDirs("$projectDir/schemas")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":database:entities"))
|
|
|
|
api(Libs.Kotlin.stdlibJdk8)
|
|
api(Libs.Kotlin.reflect)
|
|
api(Libs.AndroidX.core)
|
|
|
|
api(Libs.Rx.rxJava)
|
|
api(Libs.Rx.rxAndroid)
|
|
api(Libs.Rx.rxKotlin)
|
|
|
|
api(Libs.Google.gson)
|
|
|
|
api(Libs.AndroidX.Room.room)
|
|
api(Libs.AndroidX.Room.runtime)
|
|
api(Libs.AndroidX.Room.rxJava3)
|
|
kapt(Libs.AndroidX.Room.compiler)
|
|
|
|
api(Libs.Dagger.android)
|
|
api(Libs.Dagger.androidSupport)
|
|
|
|
androidTestImplementation(Libs.AndroidX.Room.testing)
|
|
|
|
kapt(Libs.Dagger.compiler)
|
|
} |