Update instructions to include Google Maven repository

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165291982
This commit is contained in:
olly 2017-08-15 04:14:24 -07:00 committed by Oliver Woodman
parent 00547c5783
commit 757bcf7c63
2 changed files with 8 additions and 15 deletions

View File

@ -20,18 +20,21 @@ and extend, and can be updated through Play Store application updates.
## Using ExoPlayer ##
ExoPlayer modules can be obtained via jCenter. It's also possible to clone the
ExoPlayer modules can be obtained via JCenter. It's also possible to clone the
repository and depend on the modules locally.
### Via jCenter ###
### Via JCenter ###
The easiest way to get started using ExoPlayer is to add it as a gradle
dependency. You need to make sure you have the jcenter repository included in
the `build.gradle` file in the root of your project:
dependency. You need to make sure you have the JCenter and Google Maven
repositories included in the `build.gradle` file in the root of your project:
```gradle
repositories {
jcenter()
maven {
url "https://maven.google.com"
}
}
```

View File

@ -11,17 +11,7 @@ of surround sound and ambisonic soundfields.
## Getting the extension ##
The easiest way to use the extension is to add it as a gradle dependency. You
need to make sure you have the jcenter repository included in the `build.gradle`
file in the root of your project:
```gradle
repositories {
jcenter()
}
```
Next, include the following in your module's `build.gradle` file:
The easiest way to use the extension is to add it as a gradle dependency:
```gradle
compile 'com.google.android.exoplayer:extension-gvr:rX.X.X'