Fix Android Gradle build
This commit is contained in:
parent
724d83a966
commit
7f5e04443f
|
@ -31,7 +31,7 @@ watchman shutdown-server
|
|||
|
||||
# integration tests
|
||||
# build JS bundle for instrumentation tests
|
||||
node cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js --reactNativePath .
|
||||
node cli.js bundle --platform android --dev true --entry-file ReactAndroid/src/androidTest/js/TestBundle.js --bundle-output ReactAndroid/src/androidTest/assets/AndroidTestBundle.js --reactNativePath .
|
||||
|
||||
# build test APK
|
||||
# shellcheck disable=SC1091
|
||||
|
|
|
@ -69,7 +69,8 @@ project.ext.react = [
|
|||
bundleAssetName: "RNTesterApp.android.bundle",
|
||||
entryFile: file("../../js/RNTesterApp.android.js"),
|
||||
root: "$rootDir",
|
||||
inputExcludes: ["android/**", "./**", ".gradle/**"]
|
||||
inputExcludes: ["android/**", "./**", ".gradle/**"],
|
||||
extraPackagerArgs: ["--reactNativePath", "$rootDir"]
|
||||
]
|
||||
|
||||
apply from: "../../../react.gradle"
|
||||
|
|
Loading…
Reference in New Issue