2021-05-14 19:51:08 +03:00
|
|
|
plugins {
|
|
|
|
kotlin("android")
|
|
|
|
kotlin("kapt")
|
|
|
|
id("kotlinx-serialization")
|
2021-09-11 09:53:09 +03:00
|
|
|
id("com.android.library")
|
2021-05-14 19:51:08 +03:00
|
|
|
id("com.google.devtools.ksp")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-09-11 09:53:09 +03:00
|
|
|
ksp(deps.kaidl.compiler)
|
|
|
|
kapt(deps.androidx.room.compiler)
|
2021-05-14 19:51:08 +03:00
|
|
|
|
2021-09-11 09:53:09 +03:00
|
|
|
implementation(project(":core"))
|
|
|
|
implementation(project(":common"))
|
2021-06-13 07:32:10 +03:00
|
|
|
|
2021-05-14 19:51:08 +03:00
|
|
|
implementation(kotlin("stdlib-jdk7"))
|
2021-09-11 09:53:09 +03:00
|
|
|
implementation(deps.kotlin.coroutine)
|
|
|
|
implementation(deps.kotlin.serialization.json)
|
|
|
|
implementation(deps.androidx.core)
|
|
|
|
implementation(deps.androidx.room.runtime)
|
|
|
|
implementation(deps.androidx.room.ktx)
|
|
|
|
implementation(deps.kaidl.runtime)
|
|
|
|
implementation(deps.rikkax.multiprocess)
|
2021-05-25 14:40:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
afterEvaluate {
|
|
|
|
android {
|
|
|
|
libraryVariants.forEach {
|
|
|
|
sourceSets[it.name].java.srcDir(buildDir.resolve("generated/ksp/${it.name}/kotlin"))
|
|
|
|
}
|
|
|
|
}
|
2021-05-14 19:51:08 +03:00
|
|
|
}
|