Skip to content

Commit

Permalink
Merge pull request #2552 from iagormoraes/master
Browse files Browse the repository at this point in the history
Add google's maven repository to avoid to depend on JCenter dependency for Android
  • Loading branch information
isair authored Jan 19, 2022
2 parents 81ae785 + 28d3ec4 commit 63f12ea
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### Version 5.2.1

- Add Google's maven repository to avoid build error [#2552] (https://github.com/react-native-video/react-native-video/pull/2552)

### Version 5.2.0

- Fix for tvOS native audio menu language selector
Expand Down
9 changes: 7 additions & 2 deletions android-exoplayer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@ android {
}
}

repositories {
// Remove this repository line after google releases to google() or mavenCentral()
maven { url "https://dl.google.com/android/maven2" }
}

dependencies {
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
implementation('com.google.android.exoplayer:exoplayer:2.13.2') {
implementation('com.google.android.exoplayer:exoplayer:2.13.3') {
exclude group: 'com.android.support'
}

Expand All @@ -37,7 +42,7 @@ dependencies {
implementation "androidx.core:core:1.1.0"
implementation "androidx.media:media:1.1.0"

implementation('com.google.android.exoplayer:extension-okhttp:2.13.2') {
implementation('com.google.android.exoplayer:extension-okhttp:2.13.3') {
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
}
implementation 'com.squareup.okhttp3:okhttp:${OKHTTP_VERSION}'
Expand Down

1 comment on commit 63f12ea

@andymanitara
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when are you releasing this new version 5.2.1?

Please sign in to comment.