mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-16 15:52:17 +08:00
36 lines
847 B
Plaintext
36 lines
847 B
Plaintext
plugins {
|
|
kotlin("jvm") version "1.5.0"
|
|
`java-gradle-plugin`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(kotlin("stdlib"))
|
|
|
|
compileOnly(gradleApi())
|
|
|
|
api(kotlin("gradle-plugin"))
|
|
api(kotlin("serialization"))
|
|
api("com.android.tools.build:gradle:4.2.1") {
|
|
exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk8")
|
|
exclude("org.jetbrains.kotlin", "kotlin-stdlib-jdk7")
|
|
exclude("org.jetbrains.kotlin", "kotlin-reflect")
|
|
}
|
|
api("com.google.devtools.ksp:symbol-processing-gradle-plugin:1.5.0-1.0.0-alpha10") {
|
|
exclude("com.android.tools.build", "gradle")
|
|
}
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
create("golang") {
|
|
id = "clash-build"
|
|
implementationClass = "com.github.kr328.clash.tools.ClashBuildPlugin"
|
|
}
|
|
}
|
|
}
|