Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RTAkland authored Jul 9, 2024
1 parent cd0fdbb commit 5a2d5a3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@

# 添加依赖

```gradle
maven { url 'https://jitpack.io' }
```kts
maven {
name = "rtast-repo"
url = uri("https://repo.rtast.cn/api/v4/projects/3/packages/maven")
}
```

```gradle
dependencies {
implementation 'com.github.DangoTown:RCONLib:$version'
implementation("cn.rtast.RCONLib:$version")
}
```

Expand All @@ -42,4 +45,4 @@ fun main() {

println(response) // or println(response.body) # override toString method to directly print body filed
}
```
```

0 comments on commit 5a2d5a3

Please sign in to comment.