summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorYigit Boyar <yboyar@google.com>2017-11-10 16:47:12 -0800
committerYigit Boyar <yboyar@google.com>2017-11-28 11:23:13 -0800
commit8e96cce3e9ad496f6fa5b13b41d1d76ff2fda35b (patch)
treef867dcc33874d738ec2a479ea77347012c846858 /.gitignore
parentf383e35e8a56958c89b92abe193fa2bad73d98d5 (diff)
downloaddata-binding-8e96cce3e9ad496f6fa5b13b41d1d76ff2fda35b.tar.gz
Generate base binding classes in gradle
This CL adds a new gradle.property called android.databinding.enableV2 which enables a new compiler setup in data binding. In that setup, generated binding classes that are accessed by user code are created with the Data binding source gen task rather than the annotation processor. This works around a problem in javac where if the compilation fails for any reason, it would print an error for each place user accesses this generated code, practically hiding the actual error in a moderate size project. Bug: 68393034 Test: existing tests pass, gradle plugin runs tests both in v1/v2 Change-Id: If25049a308160c3646983f26e69580a10aabde1d
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e8d02df6..8178c2fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*/build
+build/*
**/.idea/*
local.properties
.gradle
@@ -17,3 +18,4 @@ integration-tests/*/gradlew
integration-tests/*/gradle
extensions/gradle
extensions/gradlew
+*/out