2026-08-30 02:49:34 +08:00
|
|
|
plugins {
|
|
|
|
|
kotlin("multiplatform") version "2.4.10" apply false
|
|
|
|
|
kotlin("plugin.serialization") version "2.4.10" apply false
|
2026-08-30 22:17:17 +08:00
|
|
|
id("maven-publish")
|
2026-08-30 02:49:34 +08:00
|
|
|
}
|
|
|
|
|
|
2026-08-30 22:17:17 +08:00
|
|
|
val libVersion = providers.gradleProperty("libVersion").get()
|
|
|
|
|
|
2026-08-30 02:49:34 +08:00
|
|
|
allprojects {
|
|
|
|
|
group = "cn.rtast.bldm"
|
2026-08-30 22:17:17 +08:00
|
|
|
version = libVersion
|
2026-08-30 02:49:34 +08:00
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
mavenCentral()
|
|
|
|
|
}
|
2026-08-30 22:17:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
|
pluginManager.apply("maven-publish")
|
|
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
|
repositories {
|
|
|
|
|
maven("https://repo.maven.rtast.cn/snapshots") {
|
|
|
|
|
credentials {
|
|
|
|
|
username = "RTAkland"
|
|
|
|
|
password = System.getenv("PUBLISH_TOKEN")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-08-30 02:49:34 +08:00
|
|
|
}
|