Use Realm in node_modules for ReactTests on Android

This commit is contained in:
Scott Kyle 2016-02-10 17:08:01 -08:00
parent 881d4a04c3
commit c9c225c107
2 changed files with 5 additions and 1 deletions

View File

@ -75,6 +75,6 @@ android {
dependencies {
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.facebook.react:react-native:0.18.0-patched'
compile 'io.realm.react:realm-react-native:0.0.1-SNAPSHOT'
compile project(':realm')
compile project(':react-native-fs')
}

View File

@ -1,5 +1,9 @@
rootProject.name = 'ReactNative Test App'
include ':app'
include ':realm'
project(':realm').projectDir = new File(settingsDir, '../node_modules/realm/android')
include ':react-native-fs'
project(':react-native-fs').projectDir = new File(settingsDir, '../node_modules/react-native-fs/android')