AndroidAPS/database/impl/build.gradle.kts
2023-10-20 18:32:29 +02:00

51 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-module-dependencies")
id("jacoco-module-dependencies")
}
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)
api(Libs.Dagger.android)
api(Libs.Dagger.androidSupport)
androidTestImplementation(Libs.AndroidX.Room.testing)
kapt(Libs.Dagger.compiler)
kapt(Libs.AndroidX.Room.compiler)
}