Skip to content

Commit 5313a7d

Browse files
qwwdfsadrecheej
authored andcommitted
Add space staging repository
1 parent 5f7bb91 commit 5313a7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle

+4-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ buildscript {
4646
if (using_snapshot_version) {
4747
repositories {
4848
mavenLocal()
49-
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
5049
}
5150
}
5251

@@ -59,6 +58,8 @@ buildscript {
5958
password = project.hasProperty('bintrayApiKey') ? project.property('bintrayApiKey') : System.getenv('BINTRAY_API_KEY') ?: ""
6059
}
6160
}
61+
// Future replacement for kotlin-dev, with cache redirector
62+
maven { url "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev" }
6263
maven {
6364
url "https://kotlin.bintray.com/kotlin-dev"
6465
credentials {
@@ -145,14 +146,15 @@ apiValidation {
145146

146147
// Configure repositories
147148
allprojects {
148-
String projectName = it.name
149149
repositories {
150150
/*
151151
* google should be first in the repository list because some of the play services
152152
* transitive dependencies was removed from jcenter, thus breaking gradle dependency resolution
153153
*/
154154
google()
155155
jcenter()
156+
// Future replacement for kotlin-dev, with cache redirector
157+
maven { url "https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev" }
156158
maven {
157159
url "https://kotlin.bintray.com/kotlin-dev"
158160
credentials {

0 commit comments

Comments
 (0)