From 669cf6804a8c44455bfb9b0899c5be3273e5081b Mon Sep 17 00:00:00 2001 From: "[]inger" <[]inger@google.com> Date: Fri, 23 Sep 2016 03:15:38 -0700 Subject: [PATCH] Mention jcenter and gradle dependency in dev guide and Github readme. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=134056007 --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 970d482e16..f9c422db5e 100644 --- a/README.md +++ b/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'