diff --git a/android-exoplayer/build.gradle b/android-exoplayer/build.gradle index 1fb8c420..cc93e1f6 100644 --- a/android-exoplayer/build.gradle +++ b/android-exoplayer/build.gradle @@ -18,19 +18,19 @@ android { dependencies { //noinspection GradleDynamicVersion - provided "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" - compile('com.google.android.exoplayer:exoplayer:2.8.2') { + compileOnly "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" + implementation('com.google.android.exoplayer:exoplayer:2.8.2') { exclude group: 'com.android.support' } // All support libs must use the same version - compile "com.android.support:support-annotations:${safeExtGet('supportLibVersion', '+')}" - compile "com.android.support:support-compat:${safeExtGet('supportLibVersion', '+')}" - compile "com.android.support:support-media-compat:${safeExtGet('supportLibVersion', '+')}" + 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', '+')}" - compile('com.google.android.exoplayer:extension-okhttp:2.8.2') { + implementation('com.google.android.exoplayer:extension-okhttp:2.8.2') { exclude group: 'com.squareup.okhttp3', module: 'okhttp' } - compile 'com.squareup.okhttp3:okhttp:3.11.0' + implementation 'com.squareup.okhttp3:okhttp:3.11.0' } diff --git a/android/build.gradle b/android/build.gradle index a57d7a46..ff05f873 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,6 +21,6 @@ android { dependencies { //noinspection GradleDynamicVersion - provided "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" - compile 'com.yqritc:android-scalablevideoview:1.0.4' + compileOnly "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}" + implementation 'com.yqritc:android-scalablevideoview:1.0.4' }