File tree Expand file tree Collapse file tree 4 files changed +25
-11
lines changed
Expand file tree Collapse file tree 4 files changed +25
-11
lines changed Original file line number Diff line number Diff line change @@ -139,13 +139,14 @@ android {
139139}
140140
141141dependencies {
142- // implementation fileTree(dir: "libs", include: ["*.jar"])
143- // implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
144- // implementation "com.facebook.react:react-native:+" // From node_modules
145142 implementation fileTree(dir : " libs" , include : [" *.jar" ])
146143 implementation " com.android.support:appcompat-v7:${ rootProject.ext.supportLibVersion} "
147- implementation " com.facebook.react:react-native:+ " // From node_modules
144+ implementation " com.facebook.react:react-native:0.57.8 " // From node_modules
148145 implementation project(' :react-native-navigation' )
146+
147+ implementation " com.android.support:design:${ rootProject.ext.supportLibVersion} "
148+ implementation " com.android.support:appcompat-v7:${ rootProject.ext.supportLibVersion} "
149+ implementation " com.android.support:support-v4:${ rootProject.ext.supportLibVersion} "
149150}
150151
151152// Run this once to be able to run the application with BUCK
@@ -161,7 +162,7 @@ subprojects { subproject ->
161162 android {
162163 variantFilter { variant ->
163164 def names = variant. flavors* . name
164- if (names. contains(" reactNative51" ) || names. contains(" reactNative57 " )) {
165+ if (names. contains(" reactNative51" ) || names. contains(" reactNative55 " )) {
165166 setIgnore(true )
166167 }
167168 }
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ buildscript {
44 ext {
55 buildToolsVersion = " 27.0.3"
66 minSdkVersion = 19
7- compileSdkVersion = 26
7+ compileSdkVersion = 28
88 targetSdkVersion = 26
9- supportLibVersion = " 26.1 .0"
9+ supportLibVersion = " 28.0 .0"
1010 }
1111 repositories {
1212 google()
@@ -36,6 +36,21 @@ allprojects {
3636 }
3737}
3838
39+ subprojects { subproject ->
40+ afterEvaluate {
41+ if ((subproject. plugins. hasPlugin(' android' ) || subproject. plugins. hasPlugin(' android-library' ))) {
42+ android {
43+ variantFilter { variant ->
44+ def names = variant. flavors* . name
45+ if (names. contains(" reactNative51" ) || names. contains(" reactNative55" )) {
46+ setIgnore(true )
47+ }
48+ }
49+ }
50+ }
51+ }
52+ }
53+
3954
4055task wrapper (type : Wrapper ) {
4156 gradleVersion = ' 4.7'
Original file line number Diff line number Diff line change 11rootProject. name = ' FridayApp'
2-
3- include ' :app'
4-
52include ' :react-native-navigation'
63project(' :react-native-navigation' ). projectDir = new File (rootProject. projectDir, ' ../node_modules/react-native-navigation/lib/android/app/' )
4+ include ' :app'
Original file line number Diff line number Diff line change 3131 },
3232 "dependencies" : {
3333 "react" : " 16.6.3" ,
34- "react-native" : " 0.58.1 " ,
34+ "react-native" : " 0.57.8 " ,
3535 "react-native-navigation" : " ^2.8.0" ,
3636 "react-redux" : " ^6.0.0" ,
3737 "redux" : " ^4.0.1" ,
You can’t perform that action at this time.
0 commit comments