From c4505b1b04af649db7a4b6935f9a8b5edd98d684 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Mon, 30 Jul 2018 20:10:31 -0700 Subject: [PATCH] fix windows gradle bug (#20293) Summary: fix windows gradle bug, you can also see full log in https://ci.appveyor.com/project/gengjiawen/react-native/build/1.0.11/job/ic0nml8s4qbmni4e. ``` FAILURE: Build failed with an exception. * What went wrong: Failed to capture snapshot of input files for task ':RNTester:android:app:bundleReleaseJsAndAssets' property '$1' during up-to-date check. > Failed to create MD5 hash for file content. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org ``` Build success log: https://ci.appveyor.com/project/gengjiawen/react-native/build/1.0.12/job/xuaj8tm3p1piovbt. pass all current ci. https://github.com/facebook/react-native/pull/20281 [GENERAL] [INTERNAL] [RNTester] - fix windows gradle bug Pull Request resolved: https://github.com/facebook/react-native/pull/20293 Differential Revision: D9071261 Pulled By: hramos fbshipit-source-id: 87fab94d15d78dac1db51f15ca5f4ea9e3a6ad04 --- android/app/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 4722633e7c4..229e4c99522 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -62,7 +62,7 @@ project.ext.react = [ bundleAssetName: "RNTesterApp.android.bundle", entryFile: file("../../js/RNTesterApp.android.js"), root: "$rootDir", - inputExcludes: ["android/**", "./**"] + inputExcludes: ["android/**", "./**", ".gradle/**"] ] apply from: "../../../react.gradle"