Add gradle plugin and fix authenticator

This commit is contained in:
2026-01-17 23:23:46 +08:00
parent 94a486a505
commit 546977fe86
40 files changed
+266 -86

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
plugins {
kotlin("jvm")
id("java-gradle-plugin")
}
gradlePlugin {
website = "https://github.com/RTAkland/kotlin-cloudflare-worker"
vcsUrl = "https://github.com/RTAkland/kotlin-cloudflare-worker.git"
plugins {
create("kotlin-cloudflare-worker") {
id = "kotlin-cloudflare-worker"
displayName = "kotlin cloudflare worker"
description = "Kotlin cloudflare worker gradle plugin"
tags = listOf("tool", "tasks")
implementationClass = "cn.rtast.cfworker.plugin.KotlinCloudflareWorkerPlugin"
}
}
}
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.21")
}