diff --git a/android-exoplayer/build.gradle b/android-exoplayer/build.gradle index 4c7c3f06..d7914b47 100644 --- a/android-exoplayer/build.gradle +++ b/android-exoplayer/build.gradle @@ -18,26 +18,18 @@ android { dependencies { compileOnly "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" - // implementation('com.google.android.exoplayer:exoplayer:2.9.3') { - // exclude group: 'com.android.support' - // } - - implementation project(':exoplayer-library-core') - implementation project(':exoplayer-library-dash') - implementation project(':exoplayer-library-ui') - implementation project(':exoplayer-library-smoothstreaming') - implementation project(':exoplayer-library-hls') - implementation project(':exoplayer-extension-okhttp') + implementation('com.google.android.exoplayer:exoplayer:2.9.3') { + exclude group: 'com.android.support' + } // All support libs must use the same version implementation "com.android.support:support-annotations:${safeExtGet('supportLibVersion', '+')}" implementation "com.android.support:support-compat:${safeExtGet('supportLibVersion', '+')}" implementation "com.android.support:support-media-compat:${safeExtGet('supportLibVersion', '+')}" - // implementation('com.google.android.exoplayer:extension-okhttp:2.9.3') { - // exclude group: 'com.squareup.okhttp3', module: 'okhttp' - // } - + implementation('com.google.android.exoplayer:extension-okhttp:2.9.3') { + exclude group: 'com.squareup.okhttp3', module: 'okhttp' + } implementation 'com.squareup.okhttp3:okhttp:3.12.1' -} +} \ No newline at end of file