Mention jcenter and gradle dependency in dev guide and Github readme.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=134056007
This commit is contained in:
parent
f2cf086d76
commit
669cf6804a
13
README.md
13
README.md
@ -22,8 +22,17 @@ and extend, and can be updated through Play Store application updates.
|
||||
|
||||
#### Via jCenter ####
|
||||
|
||||
The easiest way to get started using ExoPlayer is by including the following in
|
||||
your project's `build.gradle` file:
|
||||
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:
|
||||
|
||||
```gradle
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
```
|
||||
|
||||
Next, include the following in your module's `build.gradle` file:
|
||||
|
||||
```gradle
|
||||
compile 'com.google.android.exoplayer:exoplayer:rX.X.X'
|
||||
|
Loading…
x
Reference in New Issue
Block a user