diff options
author | George Mount <mount@google.com> | 2017-03-09 16:35:29 -0800 |
---|---|---|
committer | George Mount <mount@google.com> | 2017-03-10 12:41:52 -0800 |
commit | 7b9698ce2ddd33ae7a363480e3882bc5e87eb479 (patch) | |
tree | 5e39beb3a9f39cd804353c6625ca50e0f7fd3169 /extensions | |
parent | b4410d3df327c27337003f58b858d1493b1cc4f4 (diff) | |
download | data-binding-7b9698ce2ddd33ae7a363480e3882bc5e87eb479.tar.gz |
Delay annotation processor error logging to avoid extra errors.
Bug 36104712
Data binding was delivering messages as they occured. Unfortunately,
when that happens, the java compiler ignores the output from the
annotation processor and ends its processing, delivering java
compilation error messages including incomplete classes like
BR and DataBindingComponent. This means that a single error
means huge numbers of data binding errors, making it very
difficult to find the one that caused the problem.
This delays the messages until the last round of annotation
processing. The output will have already been generated by then,
so the java compiler won't give those extraneous errors.
Test: tried a few errors manually and ran all tests
Change-Id: I0c0562214f6a81cebaef475fa61c6fdc615ecc91
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/gradle/wrapper/gradle-wrapper.properties | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/gradle/wrapper/gradle-wrapper.properties b/extensions/gradle/wrapper/gradle-wrapper.properties index fea41274..dc96f470 100644 --- a/extensions/gradle/wrapper/gradle-wrapper.properties +++ b/extensions/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip |