Skip to content

Commit

Permalink
Use caching repository mirror instead of Maven Central (kotest#4208)
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudshiftchris committed Jul 22, 2024
1 parent 51da482 commit bb7b7b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ dependencyResolutionManagement {
repositoriesMode = RepositoriesMode.PREFER_SETTINGS

repositories {
mavenCentral()
// use a caching mirror for maven central. https://www.sonatype.com/blog/maven-central-and-the-tragedy-of-the-commons
maven("https://cache-redirector.jetbrains.com/repo1.maven.org/maven2") {
name = "JetBrains Maven Central mirror"
}
maven("https://oss.sonatype.org/content/repositories/snapshots/") {
name = "SonatypeSnapshots"
mavenContent { snapshotsOnly() }
Expand Down

0 comments on commit bb7b7b6

Please sign in to comment.