Skip to content

Commit 6f01c93

Browse files
committed
Add workaround for removed Google dependency
1 parent 64e49dc commit 6f01c93

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,15 @@ allprojects {
5252
kotlin_version = '1.2-SNAPSHOT'
5353
}
5454

55+
def name = it.name
5556
repositories {
57+
/*
58+
* google should be first in the repository list because some of the play services
59+
* transitive dependencies was removed from jcenter, thus breaking gradle dependency resolution
60+
*/
61+
if (name == "kotlinx-coroutines-play-services") {
62+
google()
63+
}
5664
jcenter()
5765
maven { url "https://kotlin.bintray.com/kotlin-eap" }
5866
maven { url "https://kotlin.bintray.com/kotlinx" }

integration/kotlinx-coroutines-play-services/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ import java.util.zip.ZipFile
99

1010
ext.tasks_version = '15.0.1'
1111

12-
repositories {
13-
google()
14-
}
15-
1612
def attr = Attribute.of("artifactType", String.class)
1713
configurations {
1814
aar {

0 commit comments

Comments
 (0)