11apply plugin : " com.android.application"
2+ apply from : project(' :react-native-config' ). projectDir. getPath() + " /dotenv.gradle"
23
34import com.android.build.OutputFile
45
@@ -101,7 +102,7 @@ android {
101102 applicationId " com.reactnativestarterkit"
102103 minSdkVersion rootProject. ext. minSdkVersion
103104 targetSdkVersion rootProject. ext. targetSdkVersion
104- missingDimensionStrategy " RNN.reactNativeVersion" , " reactNative57 "
105+ missingDimensionStrategy " RNN.reactNativeVersion" , " reactNative57_5 "
105106 versionCode 1
106107 versionName " 1.0"
107108 ndk {
@@ -151,8 +152,9 @@ configurations.all {
151152}
152153
153154dependencies {
154- compile project(' :react-native-fbsdk' )
155- compile project(' :react-native-vector-icons' )
155+ implementation project(' :react-native-config' )
156+ implementation project(' :react-native-fbsdk' )
157+ implementation project(' :react-native-vector-icons' )
156158 implementation fileTree(dir : " libs" , include : [" *.jar" ])
157159 implementation " com.android.support:appcompat-v7:${ rootProject.ext.supportLibVersion} "
158160 implementation " com.facebook.react:react-native:+" // From node_modules
@@ -166,17 +168,17 @@ task copyDownloadableDepsToLibs(type: Copy) {
166168 into ' libs'
167169}
168170
169- subprojects { subproject ->
170- afterEvaluate {
171- if ((subproject. plugins. hasPlugin(' android' ) || subproject. plugins. hasPlugin(' android-library' ))) {
172- android {
173- variantFilter { variant ->
174- def names = variant. flavors* . name
175- if (names. contains(" reactNative51" ) || names. contains(" reactNative55" )) {
176- setIgnore(true )
177- }
178- }
179- }
180- }
181- }
182- }
171+ // subprojects { subproject ->
172+ // afterEvaluate {
173+ // if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
174+ // android {
175+ // variantFilter { variant ->
176+ // def names = variant.flavors*.name
177+ // if (names.contains("reactNative51") || names.contains("reactNative55")) {
178+ // setIgnore(true)
179+ // }
180+ // }
181+ // }
182+ // }
183+ // }
184+ // }
0 commit comments