Gradle: drop unavailable JCenter Bintray from config
This repository has been shut down a year ago: * https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/ * https://testfairy.com/blog/jcenter-and-bintray-is-shutting-down-what-to-do/ And yet we still keep references to it in the Gradle config. Resolves: https://github.com/status-im/status-react/issues/13320 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
411fd843ca
commit
1b5f08d680
|
@ -17,7 +17,7 @@ buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
flatDir { dirs "libs", "${rootDir}/app/libs" }
|
flatDir { dirs "libs", "${rootDir}/app/libs" }
|
||||||
google()
|
google()
|
||||||
jcenter()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31"
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31"
|
||||||
|
@ -52,20 +52,15 @@ allprojects {
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenLocal()
|
mavenLocal()
|
||||||
maven {
|
|
||||||
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
|
||||||
url("$rootDir/../node_modules/react-native/android")
|
maven { url("$rootDir/../node_modules/react-native/android") }
|
||||||
}
|
|
||||||
maven {
|
|
||||||
// Android JSC is installed from npm
|
// Android JSC is installed from npm
|
||||||
url("$rootDir/../node_modules/jsc-android/dist")
|
maven { url("$rootDir/../node_modules/jsc-android/dist") }
|
||||||
}
|
// For geth, function, and status-go
|
||||||
|
|
||||||
google()
|
|
||||||
jcenter()
|
|
||||||
|
|
||||||
// for geth, function, and status-go
|
|
||||||
flatDir { dirs "libs", System.env.STATUS_GO_ANDROID_LIBDIR }
|
flatDir { dirs "libs", System.env.STATUS_GO_ANDROID_LIBDIR }
|
||||||
|
// Everything Else
|
||||||
|
google()
|
||||||
|
mavenCentral()
|
||||||
maven { url "https://www.jitpack.io" }
|
maven { url "https://www.jitpack.io" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ Modules provided by `yarn2nix` are normally fine, but we use `react-native-*` pa
|
||||||
```js
|
```js
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
jcenter()
|
maven { url "https://www.jitpack.io" }
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
And these need to be patched and replaced with `mavenLocal()` to make sure Gradle doesn't try to fetch dependencies from remote repos.
|
And these need to be patched and replaced with `mavenLocal()` to make sure Gradle doesn't try to fetch dependencies from remote repos.
|
||||||
|
|
Loading…
Reference in New Issue