diff --git a/build.gradle b/build.gradle index 8c044f2fda..8c2186522a 100644 --- a/build.gradle +++ b/build.gradle @@ -26,7 +26,6 @@ allprojects { repositories { google() jcenter() - maven { url "https://oss.sonatype.org/content/repositories/snapshots" } } project.ext { exoplayerPublishEnabled = false diff --git a/common_library_config.gradle b/common_library_config.gradle index 431a7ab14d..304c242bf6 100644 --- a/common_library_config.gradle +++ b/common_library_config.gradle @@ -15,6 +15,12 @@ apply from: "$gradle.ext.exoplayerSettingsDir/constants.gradle" apply plugin: 'com.android.library' +repositories { + // TODO(internal b/169753382): Remove this when we no longer depend on + // Robolectric snapshots. + maven { url "https://oss.sonatype.org/content/repositories/snapshots" } +} + android { compileSdkVersion project.ext.compileSdkVersion