Support anonymous connect to ws server

This commit is contained in:
2026-09-01 01:13:40 +08:00
parent 559581d33f
commit f5aa7400a8
8 files changed
+56 -42

No files matched your search

+13 -1
View File
@@ -20,12 +20,24 @@ subprojects {
publishing {
repositories {
maven("https://repo.maven.rtast.cn/snapshots") {
maven("https://repo.maven.rtast.cn/releases") {
name = "RTAST-PKG"
credentials {
username = "RTAkland"
password = System.getenv("PUBLISH_TOKEN")
}
}
maven("https://repo.rtast.cn/packages") {
name = "RTAST-GIT"
credentials(HttpHeaderCredentials::class) {
name = "Authorization"
value = "Bearer ${System.getenv("PUBLISH_TOKEN")}"
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}
}
}