You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using this library in our react-native app. While building the app, we recently encountered following issue described below.
It was resolved after adding jcenter() in repositories as this library only seems to be available there only (refer this)
Since jcenter is deprecated & not recommended to use, is there any other repository from where we can fetch this library during build time or any long term fix for the same?
> Could not find io.github.novacrypto:BIP39:2019.01.27.
Searched in the following locations:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.3.3/userguide/command_line_interface.html#sec:command_line_warnings
6 actionable tasks: 6 executed
- https://repo.maven.apache.org/maven2/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
- file:/home/runner/.m2/repository/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
- file:/home/runner/work/leap-cosmos-mobile/leap-cosmos-mobile/node_modules/react-native/android/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
- file:/home/runner/work/leap-cosmos-mobile/leap-cosmos-mobile/node_modules/jsc-android/dist/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
- file:/home/runner/work/leap-cosmos-mobile/leap-cosmos-mobile/node_modules/detox/Detox-android/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
- https://dl.google.com/dl/android/maven2/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
- https://www.jitpack.io/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
- https://maven.google.com/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
- https://plugins.gradle.org/m2/io/github/novacrypto/BIP39/2019.01.27/BIP39-2019.01.27.pom
Required by:
project :app
Also sharing build.gradle below for reference.
build.gradle (without jcenter)
buildscript {
...
repositories {
google()
maven {
url 'https://maven.fabric.io/public'
}
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.1.3")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:5.0.1")
// NOTE: Do not place your application dependencies here; they belong// in the individual module build.gradle files
classpath("com.google.gms:google-services:4.3.15")
classpath 'io.fabric.tools:gradle:1.28.1'
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
}
}
allprojects {
repositories {
mavenCentral()
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
maven {
url("$rootDir/../node_modules/detox/Detox-android")
}
mavenCentral {
// We don't want to fetch react-native from Maven Central as there are// older versions over there.
content {
excludeGroup "com.facebook.react"
}
}
google()
maven { url 'https://www.jitpack.io' }
maven {
url 'https://maven.google.com'
}
gradlePluginPortal()
}
configurations.all {
resolutionStrategy {
// Remove this override in 0.65+, as a proper fix is included in react-native itself.
force "com.facebook.react:react-native:"+REACT_NATIVE_VERSION
}
exclude module:'bcprov-jdk15on'
}
}
...
The text was updated successfully, but these errors were encountered:
We're using this library in our react-native app. While building the app, we recently encountered following issue described below.
It was resolved after adding
jcenter()
inrepositories
as this library only seems to be available there only (refer this)Since
jcenter
is deprecated & not recommended to use, is there any other repository from where we can fetch this library during build time or any long term fix for the same?Also sharing
build.gradle
below for reference.build.gradle (without jcenter)
The text was updated successfully, but these errors were encountered: