Skip to content

Commit

Permalink
fix(Android): Fix build.gradle react-native dependency version (#218 by
Browse files Browse the repository at this point in the history
  • Loading branch information
friederbluemle authored and matt-oakes committed Oct 4, 2019
1 parent b088473 commit 1bfb425
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,18 @@ android {
}

repositories {
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
google()
jcenter()
mavenCentral()
}

dependencies {
//noinspection GradleDynamicVersion
api 'com.facebook.react:react-native:+'
implementation 'com.facebook.react:react-native:+'

def supportLibVersion = getExtOrInitialValue('supportLibVersion', getExtOrInitialValue('supportVersion', null))
def androidXVersion = getExtOrInitialValue('androidXVersion', null)
Expand Down

0 comments on commit 1bfb425

Please sign in to comment.