Skip to content

Commit 40d65c5

Browse files
sridhardvvceAnteWall
authored andcommitted
Exoplayer gradle changes
Exoplayer gradle changes
1 parent a17ce3a commit 40d65c5

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

android-exoplayer/build.gradle

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,26 @@ android {
1818

1919
dependencies {
2020
compileOnly "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
21-
implementation('com.google.android.exoplayer:exoplayer:2.9.3') {
22-
exclude group: 'com.android.support'
23-
}
21+
// implementation('com.google.android.exoplayer:exoplayer:2.9.3') {
22+
// exclude group: 'com.android.support'
23+
// }
24+
25+
implementation project(':exoplayer-library-core')
26+
implementation project(':exoplayer-library-dash')
27+
implementation project(':exoplayer-library-ui')
28+
implementation project(':exoplayer-library-smoothstreaming')
29+
implementation project(':exoplayer-library-hls')
30+
implementation project(':exoplayer-extension-okhttp')
2431

2532
// All support libs must use the same version
2633
implementation "com.android.support:support-annotations:${safeExtGet('supportLibVersion', '+')}"
2734
implementation "com.android.support:support-compat:${safeExtGet('supportLibVersion', '+')}"
2835
implementation "com.android.support:support-media-compat:${safeExtGet('supportLibVersion', '+')}"
2936

30-
implementation('com.google.android.exoplayer:extension-okhttp:2.9.3') {
31-
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
32-
}
37+
// implementation('com.google.android.exoplayer:extension-okhttp:2.9.3') {
38+
// exclude group: 'com.squareup.okhttp3', module: 'okhttp'
39+
// }
40+
3341
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
3442

3543
}

0 commit comments

Comments
 (0)