@@ -18,18 +18,26 @@ android {
18
18
19
19
dependencies {
20
20
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' )
24
31
25
32
// All support libs must use the same version
26
33
implementation " com.android.support:support-annotations:${ safeExtGet('supportLibVersion', '+')} "
27
34
implementation " com.android.support:support-compat:${ safeExtGet('supportLibVersion', '+')} "
28
35
implementation " com.android.support:support-media-compat:${ safeExtGet('supportLibVersion', '+')} "
29
36
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
+
33
41
implementation ' com.squareup.okhttp3:okhttp:3.12.1'
34
42
35
43
}
0 commit comments