Support anonymous connect to ws server
This commit is contained in:
8 files changed
+56
-42
No files matched your search
+13
-1
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user