-
Notifications
You must be signed in to change notification settings - Fork 307
Open
Description
The latest version of this library (1.5.1) gives a compilation problem for android:
FAILURE: Build failed with an exception.
*Where:
Build file '*/node_modules/react-native-spinkit/android/build.gradle' line: 7
* What went wrong:
A problem occurred evaluating project ':react-native-spinkit'.
> Could not find method jcenter() for arguments [] on repository container of type org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.]
This is fixed with the following patch:
patches/react-native-spinkit+1.5.1.patch
diff --git a/node_modules/react-native-spinkit/android/build.gradle b/node_modules/react-native-spinkit/android/build.gradle
index 9f02021..4af9f35 100644
--- a/node_modules/react-native-spinkit/android/build.gradle
+++ b/node_modules/react-native-spinkit/android/build.gradle
@@ -4,7 +4,7 @@ buildscript {
}
repositories {
google()
- jcenter()
+ mavenCentral()
}
dependencies {
@@ -33,7 +33,7 @@ android {
repositories {
mavenLocal()
google()
- jcenter()
+ mavenCentral()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
sainyanhtay
Metadata
Metadata
Assignees
Labels
No labels