ClashMetaForAndroid/service/build.gradle.kts
Goooler 899803739b
Chore: remove unused dependencies & improve gradle properties & code style (#1189)
* Inline version strings

* Optimize gradle

* Remove kotlin-stdlib-jdk7

* Add jvmargs in gradle.properties

* Revert "Inline version strings"

This reverts commit ad2ab2bb

* Revert asserts
2021-09-13 17:49:23 +08:00

31 lines
797 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(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"))
}
}
}