Skip to content

Commit

Permalink
migrate to new maven registry
Browse files Browse the repository at this point in the history
  • Loading branch information
RTAkland committed Dec 17, 2024
1 parent 12f7364 commit 8fa48a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ dependencies {
repositories {
// other repos...
maven { url "https://jitpack.io" }
// maven.rtast.cn, 二选一
maven { url "https://maven.rtast.cn/releases/" }
}
dependencies {
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repositories {
}

dependencies {
implementation(libs.gson)
api(libs.gson)
}

tasks.jar {
Expand Down Expand Up @@ -53,10 +53,10 @@ publishing {

repositories {
maven {
url = uri("https://maven.pkg.github.com/RTAkland/QWeatherSDK")
url = uri("https://maven.rtast.cn/releases/")
credentials {
username = "RTAkland"
password = System.getenv("GITHUB_TOKEN")
password = System.getenv("PUBLISH_TOKEN")
}
}
}
Expand Down

0 comments on commit 8fa48a0

Please sign in to comment.