Initial commit
This commit is contained in:
33 files changed
+1185
No files matched your search
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user