diff --git a/README.md b/README.md index 0cb3161..7aa5eb9 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ $ java -jar kwsify.jar [--port 8989] ```kotlin repositories { - maven("https://repo.rtast.cn/api/v4/projects/49/packages/maven") + maven("https://maven.rtast.cn/releases") } ``` @@ -47,11 +47,11 @@ repositories { ```kotlin dependencies { - implementation("cn.rtast.kwsify:api:1.1.1") // 替换成最新版本 + implementation("cn.rtast.kwsify:api:2.0.0") // 替换成最新版本 } ``` -> 点[这里](https://repo.rtast.cn/RTAkland/kwsify/-/packages)查看所有版本(记得使用`api`模块而不是`kwsify`模块) +> 点[这里](https://maven.rtast.cn/#/releases/cn/rtast/kwsify/api)查看所有版本(记得使用`api`模块而不是`kwsify`模块) ### 开始使用 diff --git a/build.gradle.kts b/build.gradle.kts index 087db09..bca9200 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -85,10 +85,10 @@ allprojects { repositories { maven { - url = uri("https://repo.rtast.cn/api/v4/projects/49/packages/maven") + url = uri("https://maven.rtast.cn/releases") credentials { username = "RTAkland" - password = System.getenv("GITLAB_TOKEN") + password = System.getenv("PUBLISH_TOKEN") } } }