Initial commit

This commit is contained in:
2026-01-03 04:08:34 +08:00
commit 3e95c8f71a
33 files changed
+1185

No files matched your search

+37
View File
@@ -0,0 +1,37 @@
plugins {
kotlin("multiplatform") version "2.2.21"
id("maven-publish")
}
group = "cn.rtast.kotlin-cfworker"
version = "1.0.1"
repositories {
mavenCentral()
}
kotlin {
explicitApi()
js(IR) { nodejs { binaries.executable() } }
sourceSets {
jsMain.dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2")
}
commonTest.dependencies {
implementation(kotlin("test"))
}
}
}
publishing {
repositories {
maven("https://repo.maven.rtast.cn/releases") {
credentials {
username = "RTAkland"
password = System.getenv("PUBLISH_TOKEN")
}
}
}
}