Commit 00174b63 authored by Tom Spencer's avatar Tom Spencer
Browse files

Support RN 0.57 w/ gradle 3

parent 3c0323fb
Loading
Loading
Loading
Loading
+7 −7
Changes for android-exoplayer/build.gradle: 7 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -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'

}
+2 −2
Changes for android/build.gradle: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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'
}