Skip to content

Commit

Permalink
use Google mirrors for maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
gciatto committed Apr 29, 2020
1 parent f35545c commit 03093b2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ plugins {
}

repositories {
maven(Repos.Mirrors.mavenCentralEurope)
mavenCentral()
jcenter()
maven("https://dl.bintray.com/kotlin/dokka")
maven(Repos.dokka)
}

group = "it.unibo.tuprolog"
Expand Down
8 changes: 8 additions & 0 deletions buildSrc/src/main/kotlin/Repos.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
object Repos {
val dokka = "https://dl.bintray.com/kotlin/dokka"
val kotlinx = "https://kotlin.bintray.com/kotlinx"

object Mirrors {
val mavenCentralEurope = "https://maven-central-eu.storage-download.googleapis.com/maven2"
}
}
2 changes: 1 addition & 1 deletion documentation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies {
repositories {
mavenCentral()
jcenter()
maven("https://kotlin.bintray.com/kotlinx/")
maven(Repos.kotlinx)
}

// env ORG_GRADLE_PROJECT_orchidBaseUrl
Expand Down

0 comments on commit 03093b2

Please sign in to comment.