diff options
author | Yigit Boyar <yboyar@google.com> | 2017-11-10 16:47:12 -0800 |
---|---|---|
committer | Yigit Boyar <yboyar@google.com> | 2017-11-28 11:23:13 -0800 |
commit | 8e96cce3e9ad496f6fa5b13b41d1d76ff2fda35b (patch) | |
tree | f867dcc33874d738ec2a479ea77347012c846858 /.gitignore | |
parent | f383e35e8a56958c89b92abe193fa2bad73d98d5 (diff) | |
download | data-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-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |