Skip to content

Commit

Permalink
Fix snapshot repo url.
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyhuo committed Sep 27, 2023
1 parent dcaa478 commit 959aeca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ buildscript {
repositories {
mavenCentral()
// for snapshots
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
classpath("com.kanyun.kudos:kudos-gradle-plugin:$latest_version")
Expand All @@ -121,7 +121,7 @@ subprojects {
repositories {
mavenCentral()
// for snapshots
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
}

Expand All @@ -131,7 +131,7 @@ pluginManagement {
repositories {
mavenCentral()
// for snapshots
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
plugins {
id("com.kanyun.kudos") version "$latest_version" apply false
Expand All @@ -142,7 +142,7 @@ dependencyResolutionManagement {
repositories {
mavenCentral()
// for snapshots
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
}
````
Expand Down
8 changes: 4 additions & 4 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ buildscript {
repositories {
mavenCentral()
// SNAPSHOT 版本需要添加以下仓库
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
classpath("com.kanyun.kudos:kudos-gradle-plugin:$latest_version")
Expand All @@ -121,7 +121,7 @@ subprojects {
repositories {
mavenCentral()
// SNAPSHOT 版本需要添加以下仓库
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
}

Expand All @@ -131,7 +131,7 @@ pluginManagement {
repositories {
mavenCentral()
// SNAPSHOT 版本需要添加以下仓库
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
plugins {
id("com.kanyun.kudos") version "$latest_version" apply false
Expand All @@ -142,7 +142,7 @@ dependencyResolutionManagement {
repositories {
mavenCentral()
// SNAPSHOT 版本需要添加以下仓库
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}
}
````
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {
subprojects {
repositories {
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots")
}

if (!name.startsWith("sample") && parent?.name?.startsWith("sample") != true) {
Expand Down

0 comments on commit 959aeca

Please sign in to comment.