Commit 0d61b89c by ibaker Committed by Ian Baker

Move Robolectric snapshot repository config to common_library_config

This means it gets pulled in when apps depend on ExoPlayer locally:
https://github.com/google/ExoPlayer/blob/release-v2/README.md#locally

This resolves the missing snapshot error that people see currently,
because the existing repository config is in the top-level ExoPlayer
build.gradle file which isn't executed when depending on ExoPlayer
locally.

Issue: #8332
Issue: #7932
PiperOrigin-RevId: 347245078
parent 94e74587
Showing with 6 additions and 1 deletions
...@@ -26,7 +26,6 @@ allprojects { ...@@ -26,7 +26,6 @@ allprojects {
repositories { repositories {
google() google()
jcenter() jcenter()
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
} }
project.ext { project.ext {
exoplayerPublishEnabled = false exoplayerPublishEnabled = false
......
...@@ -15,6 +15,12 @@ ...@@ -15,6 +15,12 @@
apply from: "$gradle.ext.exoplayerSettingsDir/constants.gradle" apply from: "$gradle.ext.exoplayerSettingsDir/constants.gradle"
apply plugin: 'com.android.library' 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 { android {
compileSdkVersion project.ext.compileSdkVersion compileSdkVersion project.ext.compileSdkVersion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment