mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-25 14:56:09 +03:00
31 lines
874 B
Plaintext
31 lines
874 B
Plaintext
plugins {
|
|
kotlin("android")
|
|
id("kotlinx-serialization")
|
|
id("com.android.library")
|
|
id("com.google.devtools.ksp")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":core"))
|
|
implementation(project(":common"))
|
|
|
|
ksp(libs.kaidl.compiler)
|
|
ksp(libs.androidx.room.compiler)
|
|
|
|
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)
|
|
}
|
|
|
|
afterEvaluate {
|
|
android {
|
|
libraryVariants.forEach {
|
|
sourceSets[it.name].kotlin.srcDir(buildDir.resolve("generated/ksp/${it.name}/kotlin"))
|
|
sourceSets[it.name].java.srcDir(buildDir.resolve("generated/ksp/${it.name}/java"))
|
|
}
|
|
}
|
|
} |