fix(android) drop jcenter

This commit is contained in:
Saúl Ibarra Corretgé 2022-01-21 10:14:07 +01:00 committed by Saúl Ibarra Corretgé
parent 8f26046e37
commit 70b8bb7cbd
3 changed files with 14 additions and 14 deletions

View File

@ -43,20 +43,19 @@ ext {
allprojects {
repositories {
mavenCentral()
google()
// React Native (JS, Obj-C sources, Android binaries) is installed from npm.
maven { url "$rootDir/../node_modules/react-native/android" }
// Android JSC is installed from npm.
maven { url("$rootDir/../node_modules/jsc-android/dist") }
maven { url 'https://www.jitpack.io' }
// https://github.com/react-native-video/react-native-video/issues/2454
//noinspection JcenterRepositoryObsolete
jcenter() {
mavenCentral {
// We don't want to fetch react-native from Maven Central as there are
// older versions over there.
content {
includeModule("com.yqritc", "android-scalablevideoview")
excludeGroup "com.facebook.react"
}
}
google()
maven { url 'https://www.jitpack.io' }
}
// Make sure we use the react-native version in node_modules and not the one

13
package-lock.json generated
View File

@ -104,7 +104,7 @@
"react-native-svg-transformer": "1.0.0",
"react-native-tab-view": "3.1.1",
"react-native-url-polyfill": "1.3.0",
"react-native-video": "5.2.0",
"react-native-video": "github:jitsi/react-native-video#4f6dad990d17ce42894df993780b5386a9c11b85",
"react-native-watch-connectivity": "1.0.4",
"react-native-webrtc": "1.94.1",
"react-native-webview": "11.15.1",
@ -15654,8 +15654,9 @@
},
"node_modules/react-native-video": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/react-native-video/-/react-native-video-5.2.0.tgz",
"integrity": "sha512-5SK1lxyzrCkZF+WuxUxLR1Pt65E0rsWB1w1GrGxSLdC9zWYBumcmuHl+wPJ7UQvznjaH2Ze7uU1R3arejI7+WQ==",
"resolved": "git+ssh://git@github.com/jitsi/react-native-video.git#4f6dad990d17ce42894df993780b5386a9c11b85",
"integrity": "sha512-zA5KlpwZfuU9DkI62xkCRcUqvLZG30z5Ac00NZ3gbxqQF60PK/FEGyM8lB5QBsjt0ZlAYgUh2q+snAU7HgN/yQ==",
"license": "MIT",
"dependencies": {
"keymirror": "^0.1.1",
"prop-types": "^15.7.2",
@ -31899,9 +31900,9 @@
}
},
"react-native-video": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/react-native-video/-/react-native-video-5.2.0.tgz",
"integrity": "sha512-5SK1lxyzrCkZF+WuxUxLR1Pt65E0rsWB1w1GrGxSLdC9zWYBumcmuHl+wPJ7UQvznjaH2Ze7uU1R3arejI7+WQ==",
"version": "git+ssh://git@github.com/jitsi/react-native-video.git#4f6dad990d17ce42894df993780b5386a9c11b85",
"integrity": "sha512-zA5KlpwZfuU9DkI62xkCRcUqvLZG30z5Ac00NZ3gbxqQF60PK/FEGyM8lB5QBsjt0ZlAYgUh2q+snAU7HgN/yQ==",
"from": "react-native-video@github:jitsi/react-native-video#4f6dad990d17ce42894df993780b5386a9c11b85",
"requires": {
"keymirror": "^0.1.1",
"prop-types": "^15.7.2",

View File

@ -109,7 +109,7 @@
"react-native-svg-transformer": "1.0.0",
"react-native-tab-view": "3.1.1",
"react-native-url-polyfill": "1.3.0",
"react-native-video": "5.2.0",
"react-native-video": "github:jitsi/react-native-video#4f6dad990d17ce42894df993780b5386a9c11b85",
"react-native-watch-connectivity": "1.0.4",
"react-native-webrtc": "1.94.1",
"react-native-webview": "11.15.1",