summaryrefslogtreecommitdiff
path: root/developmentPlugins
AgeCommit message (Collapse)Author
2017-08-14Change gradle to 4.1George Mount
Ensured all tests passed and upgraded from alpha release of constraint layout. Test: gw runAllTests Change-Id: Ieccee7f5dd1a4ca6a291763c6a6c47a07b779e09
2017-07-31Make changes so tests start passing.George Mount
Fixed gradle version. Removed obsolete test. Removed test for legacy versions. Test: gw runAllTests Taken from: Ia5a37722af011a41efbffe6ae809917a722b93a2 Change-Id: Id313c1118f267071d671f02b7f08d370b9979cc2
2017-06-28Fix the test, update gradle versions.Yigit Boyar
This test is not necessary anymore since min version is 13. Test: GeneratedLayoutTest Bug: n/a Change-Id: I3eee300122829c69b452d02f32979a997ec8dcec
2017-05-03update gradle versionsYigit Boyar
This CL adds a task to update gradle versions. This only fixes runtime tests, we still need to fix compilation tests but a better solution would be moving to the tools infra. Bug: N/A Test: testApp tests pass Change-Id: I2d3b576f65ca9c42ef07325a1ce8f4aade70ba68
2017-04-25Revert Change I8dba2911Dana Dahlstrom
… which broke the Android Studio build. Change-Id: I2e44e3d8e73a28b0bdf84c9ae65c03e4e0cfe6b8
2017-04-24Improve localize taskYigit Boyar
This is a re-implementation of the CL that was previously reverted due to missing prebuilts: ag/1955754 Change-Id: I8dba2911908ce9e6a27e182a35c5d29d4722cfc6
2017-03-10Delay annotation processor error logging to avoid extra errors.George Mount
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
2017-03-03Revert "Improvements in localize task"Yigit Boyar
This reverts commit de9f59db94300f57aa9c62de50995f3e20609980. Change-Id: Ib121ddb5f0330ccad3df89cb726603495226b5e5
2017-03-01Improvements in localize taskYigit Boyar
This CL adds ability to pass additional licenses into the localize task. Bug: N/A Test: N/A Change-Id: I02f09072d8db47a648d762242caae35701f477fd
2017-01-24Merge "fix localize plugin, update versions" into studio-master-devYigit Boyar
2017-01-23fix localize plugin, update versionsYigit Boyar
Change-Id: If73c174803a0e66c2bb38b10dd2b59311f8b5de6
2017-01-12increment gradle versionsYigit Boyar
Test: tests pass Bug: N/A Change-Id: I8ad1265d2eb61666585e6e69c24b9a2d5579f1c8
2016-12-14Update gradle versions and support lib dependencyYigit Boyar
This CL moves the dependency of extensions to core-utils to avoid lint errors starting 2.3. It also updates the test projects to use gradle 3.2. Bug: https://code.google.com/p/android/issues/detail?id=229664 Test: existing tests pass Change-Id: I125c17d6cf6f18fa4d29f8831ba43a07ba20ccff
2016-07-26Move to the latest public library.Yigit Boyar
Also updated gradle version to match tools Change-Id: I891fd065dada67bbe847bb88c1e1cef030db454b
2016-02-16Lambda In da houseYigit Boyar
This CL adds support for assigning callbacks to listeners using lambda expressions. These expressions can receive either 0 or N arguments where N is equal to the number of parameters in the callback function. These expressions are evaluated when the callback is invoked. In other words, they are independent from the rest of the ExprModel except the Identifier expressions. Since these are limited to 1 full expression and they don't have any invalidation flags; we use a verbose branching code generation mode where we calculate all possible execution paths, eliminate trivial ones and generate the code. This allows callbacks to be thread safe as well. See ExecutionPath class for details. It is not efficient but since these are rere occasions, should be OK. Callback expressions are still forced to be expressions that return value. To handle `void` case, I've added `void` and `Void` as acceptable symbols. Also, if the callback method returns void, the expression is free to return `void` or any other value. ¯\\_(ツ)_/¯ I've also moved kotlin to rc0. Although rc0 is unrelated to this task, it made more sense to upgrade here because most changes it will ask for were already done in this branch. Bug: 26849440 Change-Id: I805b3d470f85df9c2ce3f3ed5ca74925a08bb7a5
2016-01-06Move to gradle 2.10Yigit Boyar
Change-Id: I1a642a954d3b9f7fb5bcb5639f21a58192349a31
2015-12-04Avoid re-reading variables.Yigit Boyar
This CL fixes a bad code generation where we would set a variable to itself, which breaks if you use a tool like ErrorProne. I've also updated gradle version and data binding versions. Bug: 25077399 Change-Id: I6620faf4cad5fa74dc7c35be03c46c4a76c9cfbc
2015-11-05upgrade kotlin to 1.0-beta1Yigit Boyar
Change-Id: I62b77fd118e2715d272a16d96b9083d2347f5fb1
2015-11-04Use publish from android build toolsYigit Boyar
This CL removes data binding's bintray plugin and starts using the tools project. It can be uploaded to bintray only from tools project. databinding.properties file still reference rc3. We'll change it when rc5 is public. Change-Id: Id5801e488ae30cf0003372b5ae94f01306fbfa99
2015-10-30Revert some bad changes from integrationYigit Boyar
For some reason, the tools integration CL reverted some previous CLs in these files. Putting them back Change-Id: Iae68077c8885ad7a5546465936a8d4ae1e702019
2015-10-30Revert "Revert "Update notice""Yigit Boyar
This reverts commit f5517fe4100cc751b365edb43a07455b7b435215. Change-Id: Ic60d99c9a9508dbd912a67fa2d467e7332c51dfb
2015-10-30Revert "Update notice"Yigit Boyar
This reverts commit 0a39d327fc5dedb0a766f1ad44d7b1fc7048ef84. Change-Id: I72fad57691ac1fb1f74ccdd82d61d16b0b52e435
2015-10-30Update noticeYigit Boyar
Change-Id: I3d5e2a07075603fbc2ee9b6c93490f6ea2d7c594
2015-10-28Data binding as studio dep + java6Yigit Boyar
This CL gets rid of the gradle plugin and instead provides DataBindingBuilder for the gradle plugin to directly use. Now, everything that is deployed via SDK Manager (lib and adapters) are included as prebuilts so that we avoid accidently changing them w/o an SDK manager release. There is still work to do: > re-enable proguard for externel dependencies > release a batch to ensure everything works Bug: 22516688 Change-Id: I83ace15bd6d3d23bf5b4ad850f36453dd23ebd43
2015-10-06Ignore warnings from bintrayYigit Boyar
Change-Id: Id241077e22bef6000ae13c06c8538dd59a5293c8
2015-10-05add kotlin prebuilts licenseYigit Boyar
Change-Id: I10c41d5b9edc1312000b6cfbfc5b481dd72f031c
2015-10-05Fix error processing XML when german character is used.George Mount
Bug 24507894 The character set was not being properly detected for the XML file when it was being loaded, so it was always using the default character set. For Windows, this turned out to be something other than UTF-8. Now, a library is used to detect the character set before parsing. Change-Id: I2ea041701de59f0e72fd18288b0f62cb2beb74e6
2015-09-11Fix local buildsYigit Boyar
This CL fixes local builds where some deps were not downloaded but they were coming from maven (by mistake). Bug: 24000910 Change-Id: Id188b30a6ac94c14e382dcedab1906bfb7a7e4f0
2015-09-08Fat jars and jarjarsGeorge Mount
Release versions of the gradle plugin and annotation processor now contain all of their dependencies, repackaged. Change-Id: I93fba3eed150aafa8a88d439103b90d270e71cdf
2015-07-17Fix bintray uploadandroid-n-preview-2android-n-preview-1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r17android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r41marshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-devmarshmallow-devYigit Boyar
Bug 22561972 Change-Id: I36b1279838e21043e22ad64981373910210f622e
2015-07-14Localize MavenYigit Boyar
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