mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-12-02 02:06:07 +03:00
11c4e19e0c
* Refactor: refactor project structure * Chore: remove apply * Chore: update clash core * Fix: fix versionName & versionCode patch * Chore: update golang plugin * Fix: fix workflow build
32 lines
839 B
Plaintext
32 lines
839 B
Plaintext
plugins {
|
|
kotlin("android")
|
|
kotlin("kapt")
|
|
id("kotlinx-serialization")
|
|
id("com.android.library")
|
|
id("com.google.devtools.ksp")
|
|
}
|
|
|
|
dependencies {
|
|
ksp(deps.kaidl.compiler)
|
|
kapt(deps.androidx.room.compiler)
|
|
|
|
implementation(project(":core"))
|
|
implementation(project(":common"))
|
|
|
|
implementation(kotlin("stdlib-jdk7"))
|
|
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)
|
|
}
|
|
|
|
afterEvaluate {
|
|
android {
|
|
libraryVariants.forEach {
|
|
sourceSets[it.name].java.srcDir(buildDir.resolve("generated/ksp/${it.name}/kotlin"))
|
|
}
|
|
}
|
|
} |