diff --git a/README.md b/README.md index 88ff208..95f26c2 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,18 @@ create a music player with ExoPlayer. 1. Add it in your root build.gradle at the end of repositories:
-allprojects {
- repositories {
- ...
- maven { url 'https://jitpack.io' }
- }
-}
+```gradle +allprojects { + repositories { + ... + maven { url 'https://jitpack.io' } + } +} +```
2. Add the dependency
-dependencies {
- compile 'com.github.weiancheng:MediaPlayerWithExoPlayer:v1.1'
-}
+```gradle +dependencies { + compile 'com.github.weiancheng:MediaPlayerWithExoPlayer:v1.1' +} +```