2021-05-15 00:51:08 +08:00
|
|
|
plugins {
|
2021-05-28 10:52:35 +08:00
|
|
|
kotlin("jvm") version "1.5.10"
|
2021-05-15 00:51:08 +08:00
|
|
|
`java-gradle-plugin`
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
google()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-05-28 10:37:23 +08:00
|
|
|
implementation(kotlin("gradle-plugin"))
|
|
|
|
implementation(kotlin("serialization"))
|
|
|
|
implementation("com.android.tools.build:gradle:4.2.1")
|
2021-05-28 10:52:35 +08:00
|
|
|
implementation("com.google.devtools.ksp:symbol-processing-gradle-plugin:1.5.10-1.0.0-beta01")
|
2021-05-15 00:51:08 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
gradlePlugin {
|
|
|
|
plugins {
|
|
|
|
create("golang") {
|
2021-05-22 01:22:09 +08:00
|
|
|
id = "clash-build"
|
|
|
|
implementationClass = "com.github.kr328.clash.tools.ClashBuildPlugin"
|
2021-05-15 00:51:08 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|