ClashMetaForAndroid/service/build.gradle.kts

31 lines
797 B
Plaintext
Raw Normal View History

2021-05-14 19:51:08 +03:00
plugins {
kotlin("android")
kotlin("kapt")
id("kotlinx-serialization")
id("com.android.library")
2021-05-14 19:51:08 +03:00
id("com.google.devtools.ksp")
}
dependencies {
implementation(project(":core"))
implementation(project(":common"))
2022-03-22 08:48:02 +03:00
ksp(libs.kaidl.compiler)
kapt(libs.androidx.room.compiler)
2022-01-14 18:40:41 +03:00
2022-03-22 08:48:02 +03:00
implementation(libs.kotlin.coroutine)
implementation(libs.kotlin.serialization.json)
implementation(libs.androidx.core)
implementation(libs.androidx.room.runtime)
implementation(libs.androidx.room.ktx)
implementation(libs.kaidl.runtime)
implementation(libs.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
}