Files
bldm/build.gradle.kts
T

43 lines
1.1 KiB
Kotlin
Raw Normal View History

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 {
2026-09-01 01:13:40 +08:00
maven("https://repo.maven.rtast.cn/releases") {
name = "RTAST-PKG"
2026-08-30 22:17:17 +08:00
credentials {
username = "RTAkland"
password = System.getenv("PUBLISH_TOKEN")
}
}
2026-09-01 01:13:40 +08:00
maven("https://repo.rtast.cn/packages") {
name = "RTAST-GIT"
credentials(HttpHeaderCredentials::class) {
name = "Authorization"
value = "Bearer ${System.getenv("PUBLISH_TOKEN")}"
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
2026-08-30 22:17:17 +08:00
}
}
2026-08-30 02:49:34 +08:00
}