add to inputs in buildReactNdkLib so gradle will rebuild on more changes

Summary: This make iteration work better without needing to clean as much

Reviewed By: willholen

Differential Revision: D15018285

fbshipit-source-id: 034f5529e2e51711aeaa75360ad10bb1f85c7fb8
This commit is contained in:
Marc Horowitz
2019-05-01 18:39:28 -07:00
committed by Facebook Github Bot
parent 7486c77ab5
commit 709baabb62

View File

@@ -220,7 +220,8 @@ def getNdkBuildFullPath() {
}
task buildReactNdkLib(dependsOn: [prepareJSC, prepareBoost, prepareDoubleConversion, prepareFolly, prepareGlog], type: Exec) {
inputs.dir("src/main/jni/react")
inputs.dir("$projectDir/../ReactCommon")
inputs.dir("src/main/jni")
outputs.dir("$buildDir/react-ndk/all")
commandLine(getNdkBuildFullPath(),
"NDK_PROJECT_PATH=null",