Merge "Sample Build: Add handling for README files in build gradle" into developers-dev
diff --git a/build.gradle b/build.gradle
index dac9ad5..9523a99 100644
--- a/build.gradle
+++ b/build.gradle
@@ -132,7 +132,9 @@
         exclude "buildSrc"
         exclude "local.properties"
         exclude "template-params.xml"
+        exclude "**/build"
         exclude "**/proguard-project.txt"
+        exclude "${samplegen.targetSampleModule()}/**/README*.txt"
 
         // src directory needs to be consolidated, will be done in next section
         exclude "${samplegen.targetSampleModule()}/src/"