History log of /frameworks/data-binding/library/build.gradle
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
24bec1cc542de69e0e21cc774469f20d34811ad9 09-Jul-2015 Yigit Boyar <yboyar@google.com> Localize Maven

This CL introduces a new development plugin that downloads all
dependencies into the given repository. This will allow us to
build data binding in build servers w/o internet connection.

By default, it is setup to disable public repositories to avoid
adding a new dependency w/o running the script.
Public repositories can be added by running -PaddRemoteRepos=true.
There is also a convenience script to fetch dependencies.
localize.sh

Bug: 19626302
Change-Id: I9d200550b76c3b60119cdbbdb4e1e7772d0da1d7
/frameworks/data-binding/library/build.gradle
e4cd38824a6627b9fef229c549c636e35ad63b5f 07-Jul-2015 George Mount <mount@google.com> Support dependency injection.

Bug 22389109

Change-Id: Iec63375c5412edc03b4808ee129a7596b61bf9e6
/frameworks/data-binding/library/build.gradle
924fa7c597694ebc433fc0379d0015785351d1b7 23-Jun-2015 Yigit Boyar <yboyar@google.com> Fix compiler tests

Compiler tests were broken after the parcelable change.
JavaClassLoader cannot access Parcelable when resolving ObservableXX
from the library. Compiler tests do not need to resolve Observables
so in this CL I override the related method to avoid trying to
load them.
I've also removed the requirement to deploy a libraryJar from the
library. Instead, compiler will directly include the library
sources when it is being compiled for tests.
/frameworks/data-binding/library/build.gradle
d37b47419005587c52ca4c099432327b7f06478d 19-Jun-2015 Yigit Boyar <yboyar@google.com> Make observables parcelable

We got some feedback where people want to keep their View presenter
classes parcelable. This CL makes observables parcelable and
their lists transient to allow this.

Bug: 21785040
Change-Id: I76adc7d7ca3876c83fd8749f6dbcf02a926c97c2
/frameworks/data-binding/library/build.gradle
165b0cf794bd941eeffe6b724a14ad3fb0a3659c 13-Jun-2015 Yigit Boyar <yboyar@google.com> Decrease support-v4 dependency

This CL changes baseLibrary to depend on support-v4 21.0.3
instead of +. This way, gradle will choose the newer version
of this or the app's dependencies. Using + was forcing
app to use the latest support library which may created
unwated situations if app does not want to upgrade.

Bug: 21660716
/frameworks/data-binding/library/build.gradle
b1356339eaa6c8e967e4fc1dc283b82909a1208d 22-May-2015 Yigit Boyar <yboyar@google.com> Merge projects for an easier release

This CL merges annotation processor, xml grammer and grammer builder
into compiler project.

It also adds logic to pass gradle's --debug parameter to the
annotation processor so that we can grab logs when necessary.

Bug: 21327802
Change-Id: I1d07002519a6b95de3cdc0891bd00f461f73e8ea
/frameworks/data-binding/library/build.gradle
79ae2e5b4612d3af10bcadb235c86b564b5f97c1 21-May-2015 Yigit Boyar <yboyar@google.com> Add sources and javadocs for data binding public libs
/frameworks/data-binding/library/build.gradle
ae161289a90f6ac69ffe6411ac8c09653c81d04d 21-Apr-2015 Yigit Boyar <yboyar@google.com> Add base library prebuild, remove library.jar prebuild

Bug: 19945740
/frameworks/data-binding/library/build.gradle
ee7586713d68806b556a425cbebf007a56261ff3 17-Apr-2015 Yigit Boyar <yboyar@google.com> Add 3rd party licenses to fatJar

This CL adds 3rd party licenses to compiler-fatJar so that
we can use it in our build process w/o maven dependency.

It also removes dependency on SDK folder for api level lookup
by shipping versions.xml file with the bundle.

It adds a new gradle task, preparePrebuilds, which bundsles
all necessary builds to a prebuild folder which should be
committed. These pre-builds will be used by the makefile to
support make builds.

Bug: 19945740
Change-Id: I0bba72bbb13770aba94317301217ddd842211e2d
/frameworks/data-binding/library/build.gradle
125f08f32dbe73b457768aeca4accfbc44dd44b6 01-Apr-2015 George Mount <mount@google.com> Don't use reflection for DataBinderMapper.

By having a concrete implementation of DataBinderMapper in the
library and then stripping it out, the generated DataBinderMapper
may be instantiated without reflection.
/frameworks/data-binding/library/build.gradle
a6e4583962e19e8e93b4ca3f9fe3d34560b6d96c 13-Mar-2015 Yigit Boyar <yboyar@google.com> Support for multi module setups

This CL adds support for building multi module apps
with proper context.

For library modules, we only generate base classes in the initial
compilation. We also generate a temporary BR file which does
not have final methods.

When final app is being generated, all layout binders, adapters
and Bindable information gets merged and all final classes
are generated in their appropriate packages.

This CL also adds support for Test runs and any
number of build variants.

Bug: 19714904
Change-Id: I9b50b54db05f3fa206eec33709d43c2ac94a9e5e
/frameworks/data-binding/library/build.gradle
e421e29d1e20d73fb1275ec0d916e4c6ad8a3893 13-Mar-2015 Yigit Boyar <yboyar@google.com> Move configuration values into a config file

Change-Id: I7055c109cb04ae2ae375c2126c2a70fa52e85e31
/frameworks/data-binding/library/build.gradle
f9e51c010bd2eab9cca01baaccc0e5a73b8b72c9 12-Mar-2015 Yigit Boyar <yboyar@google.com> Restructure project for test apps

This CL updates project to use a local maven repo.
(local as in near source code w/ relative path).
This is necessary to have multiple versions of the
project on the same computer also provides better
separation.

I also moved integration tests to depend on these
because we cannot build the compiler and test app at
the same project.

I've changed library plugin's jar to be a separate
upload task to avoid some build issues in TestApp
when we release a @jar and @aar with same group and
artifact ids.

This CL also adds some convenience methods to
gradle build script to run all tests, prepare maven
repo, run integration tests etc. These were needed
to do CI.

Bug: 19718690
Change-Id: I3c80e09fe7c8c2780ca00c3e9b9ba99a162531cf
/frameworks/data-binding/library/build.gradle
97d6ddf47f4ff1abb3ed5201ce5232163f5325b1 04-Mar-2015 Yigit Boyar <yboyar@google.com> Check API version for methods called via binding

In data binding, setting an attribute actually means calling a method, which might be
an issue if the method is added after a certain API.

This CL introduces a change which will check called methods per api and add necessary
API check code to avoid calling those methods in older platforms.

This CL also resurrects the Java Model Analyzer (in testing) and also fixes compiler tests.

Bug: 19593398
Change-Id: I0da4194625231cf43125e1b43338069e7d191eb9
/frameworks/data-binding/library/build.gradle
1b9940e612fc73202837fbe9db2f9035f307b5d1 11-Feb-2015 George Mount <mount@google.com> Move expression generation to annotation processor.
/frameworks/data-binding/library/build.gradle
974a07824642fabd896930f20c7b176fd2333e31 04-Feb-2015 George Mount <mount@google.com> Made expressions prefix with "@"
/frameworks/data-binding/library/build.gradle
71eb6908f2689bd17000237eb645896c36da0138 04-Feb-2015 George Mount <mount@google.com> Added tests for BindingAdapters

Fixed a few small bugs as well.

Change-Id: Ie50afc6be457b293ce69508452bb38ea1ab75b41
/frameworks/data-binding/library/build.gradle
5bf3700759ff21696becadd4e6fcfe2c0db6cb83 03-Feb-2015 Yigit Boyar <yboyar@google.com> Support for layout files in multiple resource folders

Multiple layout files with the same name now share a common interface.
They also share all variables no matter where it is defined.
If a variable is NOT used in one of the layout files, its implementation
does not create a field BUT STILL creates the setter (to implement
the base interface).

If the same view id is used for two different types of views, return
type in the interface is android.view.View. If it is an include,
the return value is IViewDataBinder.

Change-Id: Ie3cc2bb8ec5ea48b71337e314ec588a050d714df
/frameworks/data-binding/library/build.gradle
846795ea3e69eb482968cfea3312df04787c9bcf 30-Jan-2015 George Mount <mount@google.com> Made ProcessBindable read intermediate files from class path.

Bug 19192030
/frameworks/data-binding/library/build.gradle
7201118b5554426cea3fcd07e4fd96e999d3eea9 29-Jan-2015 George Mount <mount@google.com> Added tests for ViewBindingAdapter.

Also fixed:
Bug 19192030
/frameworks/data-binding/library/build.gradle
2c86cdbaf189e2b1774af7f64a2974de9321673f 28-Jan-2015 George Mount <mount@google.com> Moved classes from library to baseLibrary

Added tests for some classes.
/frameworks/data-binding/library/build.gradle
2c91eecdca60d55e7a4c69b486e307331ac93137 27-Jan-2015 George Mount <mount@google.com> Project renaming
/frameworks/data-binding/library/build.gradle
d7af42b29ddf22f0068f7496c5ac6f4f34b543b6 09-Jan-2015 Yigit Boyar <yboyar@google.com> WIP Moved models to Java, refactored expressions to have proper dependencies, added tests

Change-Id: I863787a3ed76ecc397b677cfd110aa7aba99cb38
/frameworks/data-binding/library/build.gradle
3561e3e665698843b1c664385a842e779198960b 20-Jan-2015 George Mount <mount@google.com> Added implementations of BindingAdapters.

Added renaming attribute-to-setter and automatic Conversions.
Moved intermediate store (SetterStore) to compiler project.
Moved annotations to their own project.
/frameworks/data-binding/library/build.gradle
8ffce57a6056a34c9568ef1893d6e36ce80f2245 13-Dec-2014 Yigit Boyar <yboyar@google.com> Upload plugin for new lang
/frameworks/data-binding/library/build.gradle
051f795993b296a20b1fa006135781e437251548 17-Dec-2014 George Mount <mount@google.com> Revert "Missed adding annotation processor code."

This reverts commit 6c634edac4f9af4bdeb84cdc2f47e849bfd74d86.

Change-Id: I74afc4c8a10cd276d0bb422efd37ae339e8c8d86
/frameworks/data-binding/library/build.gradle
2527c89af21b2af11a2bb627b5ce1380368016c7 17-Dec-2014 George Mount <mount@google.com> Missed adding annotation processor code.
/frameworks/data-binding/library/build.gradle
840f0ce0645ecc28a528d2c73efa25532d721d20 13-Dec-2014 Yigit Boyar <yboyar@google.com> move dependencies from maven to project
/frameworks/data-binding/library/build.gradle
3d4bdfeeb2ffd1b2ec8a26abd1f4306295a66a43 12-Dec-2014 Yigit Boyar <yboyar@google.com> add copyright to project files
/frameworks/data-binding/library/build.gradle
085724fd84795ae1631747443c43f77c08e11a28 12-Dec-2014 Yigit Boyar <yboyar@google.com> initial commit
/frameworks/data-binding/library/build.gradle