Commit 5ae60a6f by tonihei Committed by Oliver Woodman

Swap google() and jcenter() in docs and gradle config.

This seems to be more stable in case Bintray has issues updating the ExoPlayer
sources.

Issue:#4997

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=218327350
parent 8b1080d5
Showing with 5 additions and 3 deletions
...@@ -33,8 +33,8 @@ included in the `build.gradle` file in the root of your project: ...@@ -33,8 +33,8 @@ included in the `build.gradle` file in the root of your project:
```gradle ```gradle
repositories { repositories {
jcenter()
google() google()
jcenter()
} }
``` ```
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
* Fix issue where a `NullPointerException` is thrown when removing an unprepared * Fix issue where a `NullPointerException` is thrown when removing an unprepared
media source from a `ConcatenatingMediaSource` with the `useLazyPreparation` media source from a `ConcatenatingMediaSource` with the `useLazyPreparation`
option enabled ([#4986](https://github.com/google/ExoPlayer/issues/4986)). option enabled ([#4986](https://github.com/google/ExoPlayer/issues/4986)).
* Swap recommended order for google() and jcenter() in gradle config
([#4997](https://github.com/google/ExoPlayer/issues/4997)).
### 2.9.0 ### ### 2.9.0 ###
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
// limitations under the License. // limitations under the License.
buildscript { buildscript {
repositories { repositories {
jcenter()
google() google()
jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.1.4' classpath 'com.android.tools.build:gradle:3.1.4'
...@@ -32,8 +32,8 @@ buildscript { ...@@ -32,8 +32,8 @@ buildscript {
} }
allprojects { allprojects {
repositories { repositories {
jcenter()
google() google()
jcenter()
} }
project.ext { project.ext {
exoplayerPublishEnabled = true exoplayerPublishEnabled = true
......
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