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 {
139
139
}
140
140
141
141
dependencies {
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
145
142
implementation fileTree(dir : " libs" , include : [" *.jar" ])
146
143
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
148
145
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} "
149
150
}
150
151
151
152
// Run this once to be able to run the application with BUCK
@@ -161,7 +162,7 @@ subprojects { subproject ->
161
162
android {
162
163
variantFilter { variant ->
163
164
def names = variant. flavors* . name
164
- if (names. contains(" reactNative51" ) || names. contains(" reactNative57 " )) {
165
+ if (names. contains(" reactNative51" ) || names. contains(" reactNative55 " )) {
165
166
setIgnore(true )
166
167
}
167
168
}
Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ buildscript {
4
4
ext {
5
5
buildToolsVersion = " 27.0.3"
6
6
minSdkVersion = 19
7
- compileSdkVersion = 26
7
+ compileSdkVersion = 28
8
8
targetSdkVersion = 26
9
- supportLibVersion = " 26.1 .0"
9
+ supportLibVersion = " 28.0 .0"
10
10
}
11
11
repositories {
12
12
google()
@@ -36,6 +36,21 @@ allprojects {
36
36
}
37
37
}
38
38
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
+
39
54
40
55
task wrapper (type : Wrapper ) {
41
56
gradleVersion = ' 4.7'
Original file line number Diff line number Diff line change 1
1
rootProject. name = ' FridayApp'
2
-
3
- include ' :app'
4
-
5
2
include ' :react-native-navigation'
6
3
project(' :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 31
31
},
32
32
"dependencies" : {
33
33
"react" : " 16.6.3" ,
34
- "react-native" : " 0.58.1 " ,
34
+ "react-native" : " 0.57.8 " ,
35
35
"react-native-navigation" : " ^2.8.0" ,
36
36
"react-redux" : " ^6.0.0" ,
37
37
"redux" : " ^4.0.1" ,
You can’t perform that action at this time.
0 commit comments