Skip to content

Commit

Permalink
update maven repo
Browse files Browse the repository at this point in the history
  • Loading branch information
RTAkland committed Jan 4, 2025
1 parent 433be77 commit 9f74ff2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}

```
Expand All @@ -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`模块)
### 开始使用

Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand Down

0 comments on commit 9f74ff2

Please sign in to comment.