Commit 04131a1e by olly Committed by Oliver Woodman

Update instructions to include Google Maven repository

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165291982
parent a2a2acfd
Showing with 8 additions and 15 deletions
...@@ -20,18 +20,21 @@ and extend, and can be updated through Play Store application updates. ...@@ -20,18 +20,21 @@ and extend, and can be updated through Play Store application updates.
## Using ExoPlayer ## ## 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. 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 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 dependency. You need to make sure you have the JCenter and Google Maven
the `build.gradle` file in the root of your project: repositories included in the `build.gradle` file in the root of your project:
```gradle ```gradle
repositories { repositories {
jcenter() jcenter()
maven {
url "https://maven.google.com"
}
} }
``` ```
......
...@@ -11,17 +11,7 @@ of surround sound and ambisonic soundfields. ...@@ -11,17 +11,7 @@ of surround sound and ambisonic soundfields.
## Getting the extension ## ## Getting the extension ##
The easiest way to use the extension is to add it as a gradle dependency. You The easiest way to use the extension is to add it as a gradle dependency:
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:
```gradle ```gradle
compile 'com.google.android.exoplayer:extension-gvr:rX.X.X' compile 'com.google.android.exoplayer:extension-gvr:rX.X.X'
......
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