Use local package in example project.

This commit is contained in:
Dylan Vann
2018-05-07 11:26:26 -04:00
parent b2fb48bbe3
commit e8cfc7ae5d
8 changed files with 79 additions and 46 deletions
@@ -74,6 +74,7 @@ import com.android.build.OutputFile
project.ext.react = [
entryFile: "index.js"
bundleConfig: "./metro.config.js"
]
apply from: "../../node_modules/react-native/react.gradle"
@@ -2,6 +2,6 @@ rootProject.name = 'ReactNativeFastImageExample'
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
include ':react-native-fast-image'
project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fast-image/android')
project(':react-native-fast-image').projectDir = new File(rootProject.projectDir, '../../android')
include ':app'