2026-01-03 04:08:34 +08:00
|
|
|
plugins {
|
2026-01-04 00:33:42 +08:00
|
|
|
kotlin("multiplatform") version "2.2.21" apply false
|
2026-01-03 04:08:34 +08:00
|
|
|
id("maven-publish")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-01-04 00:33:42 +08:00
|
|
|
allprojects {
|
|
|
|
|
group = "cn.rtast.kotlin-cfworker"
|
|
|
|
|
version = "1.0.2"
|
2026-01-03 04:08:34 +08:00
|
|
|
|
2026-01-04 00:33:42 +08:00
|
|
|
repositories {
|
|
|
|
|
mavenCentral()
|
2026-01-03 04:08:34 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-04 00:33:42 +08:00
|
|
|
subprojects {
|
|
|
|
|
apply(plugin = "org.jetbrains.kotlin.multiplatform")
|
|
|
|
|
apply(plugin = "maven-publish")
|
|
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
|
repositories {
|
|
|
|
|
maven("https://repo.maven.rtast.cn/releases") {
|
|
|
|
|
credentials {
|
|
|
|
|
username = "RTAkland"
|
|
|
|
|
password = System.getenv("PUBLISH_TOKEN")
|
|
|
|
|
}
|
2026-01-03 04:08:34 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|