History log of /frameworks/support/buildSrc/diff_and_docs.gradle
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d573ce083ec0487c0dd8bd32a1b7d77ebf68acdd 28-Aug-2017 Alan Viverette <alanv@google.com> Move back to current.txt instead of -SNAPSHOT.txt

Avoids issues with auto-merger and enforces "no changes since last public
release" policy.

Bug: 65068326
Test: ./gradlew checkApi against a variety of versions
Change-Id: Iac174ce23922ac0e1ce5200f01c99e6597369178
/frameworks/support/buildSrc/diff_and_docs.gradle
cec847e45396ec0e141c6e5be959d3020e9d4ea5 15-Aug-2017 Alan Viverette <alanv@google.com> Fix docs build by adding generateApi dependency

Bug: 64716863
Test: rm -rf ../../out && ./gradlew generateDocs
Change-Id: I5db9c8e5bfc3ec51a8742075ce71ec1d0b590728
/frameworks/support/buildSrc/diff_and_docs.gradle
7b68068be70799a3527a0dec00873690443b800f 11-Aug-2017 Alan Viverette <alanv@google.com> Don't generate or require removed.txt file, fix initial API generation

Removes all existing removed.txt files. Fixes API generation for
annotations project. Fixes the build.

Test: ./gradlew updateApi
Change-Id: Idf8320c5bd5bfe71bc6302af77513c9947b49a70
/frameworks/support/buildSrc/diff_and_docs.gradle
2592acbfccd25a4defc97766bcee95d355aa9b7a 10-Aug-2017 Alan Viverette <alanv@google.com> Tag classes with Maven artifact, migrate to per-project API versioning

Starting from 26.0.0, API files only exist in project directories.

Bug: 62873049
Test: ./gradlew generateDocs
Change-Id: I1bc24654240cd50a5deba9709e38536d5542ff12
/frameworks/support/buildSrc/diff_and_docs.gradle
b938b2eab0a90d4f9482067f3802f54c4834d2c1 24-Jul-2017 Aurimas Liutikas <aurimas@google.com> Unify the location of libary versions.

Test: ./gradlew buildOnServer
Change-Id: Ic6edd16441b2b649424b47829b46b8f67453ba40
/frameworks/support/buildSrc/diff_and_docs.gradle
bd03d767430d12226a28ac3330427a54cf9d9001 27-Jul-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Remove DoclavaMultilineJavadocOptionFileOption." into oc-support-26.1-dev
6398b86b6b0a6ce8ebb5455acd95e96252fe4359 14-Jul-2017 Sergey Vasilinets <sergeyv@google.com> Enable api checks for java projects && flatfoot

Also it reenables generateDocs for flatfoot in 26.1

Test: 1. ./gradlew checkApiRelease -> no errors;
2. ./gradlew checkApi -> no erros;
3. ./gradlew updateApi

Change-Id: I02dd5b33df961f8e32c06f970de9f75410cb22b3
/frameworks/support/buildSrc/diff_and_docs.gradle
a192828d56310f78603b46440c95abd0c4bd76cc 17-Jul-2017 Aurimas Liutikas <aurimas@google.com> Remove DoclavaMultilineJavadocOptionFileOption.

Replace DoclavaMultilineJavadocOptionFileOption with addMultilineMultiValueOption
that is now part of the gradle API.

See https://github.com/gradle/gradle/issues/1456

Test: ./gradlew generateDocs
Change-Id: I8b1fd43079e8a3129a17e218b06de12d86addc1c
/frameworks/support/buildSrc/diff_and_docs.gradle
49066c4cb351a45da96d8167586056df88a79b19 10-Jul-2017 Sergey Vasilinets <sergeyv@google.com> Make API related tasks per project.

Most of this patch is making these task work with the given project
instead of script global vars

Test: 1. ./gradlew checkApiRelease -> no errors;
2. ./gradlew checkApi -> no erros;
3. modify tv-provider module
4. checkApi -> error
5. updateApi -> modified 26.1.0-SNAPSHOT
6. checkApi -> no errors
7. generateDiffs -> valid changes.html generated
Change-Id: Icc2b2f9c1a110774e81d445c4c64a65db12b8fca
/frameworks/support/buildSrc/diff_and_docs.gradle
2bf30b664a8fbb398ff2958f4f694765a2d33ef0 12-Apr-2017 Yigit Boyar <yboyar@google.com> Fix support lib build for flatfoot

UpdateApiCheck task is renamed on master in
Ic9e1800cbf8d0329e428c71be6d68e2f1e5abf4b.

Test: gw init
Bug: N/A
Change-Id: I68d3fc7e9013c26bdb25b7b1df082aee7d253137
/frameworks/support/buildSrc/diff_and_docs.gradle
95d5e70ba928edd3168e26df6b1aaf50b757074b 28-Jun-2017 Aurimas Liutikas <aurimas@google.com> Move to using Android Gradle Plugin 3.0.0-alpha4

Bug: 62578429
Test: ./gradlew buildOnServer
Change-Id: I354fb8d4edf8eacc75117f4cff13184865fe6b22
/frameworks/support/buildSrc/diff_and_docs.gradle
5b3946f819d6876ff46784ed1bfd16828b43448a 27-Apr-2017 Alan Viverette <alanv@google.com> allow passing doclava options for grouping

This allows creating online docs for sub-groups.

Bug: 37484958
Test: gw generateDocs
Change-Id: I12b3965ce560a04d5246ba6e67287c287ce35422
/frameworks/support/buildSrc/diff_and_docs.gradle
f354ae55994777773b771d0f4a929f9771410332 26-Apr-2017 Alan Viverette <alanv@google.com> Update doclava task for -android, fix fallout from 25.4.0 API file

Test: ./gradlew createArchive
Change-Id: I8a5c508a6ffe531d3f91760502be8b5954b05efb
/frameworks/support/buildSrc/diff_and_docs.gradle
cb6b1e841521c1dded21e789461257b5e535d4e0 14-Apr-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Update generateDocs description" into oc-dev
c39846bd556ee66b2cc06162fac65ab529548716 14-Apr-2017 Siyamed Sinir <siyamed@google.com> Update generateDocs description

Add information about how to generate offline docs.

Test: ./gradlew tasks
Change-Id: I86315dec8eca27e51e85301b0c796963c4bc216f
/frameworks/support/buildSrc/diff_and_docs.gradle
cc37e2f87805264f0a3b3891130fabb33566d0d3 13-Apr-2017 Yigit Boyar <yboyar@google.com> Fix doclava arguments

We need to send the javacompile files AFTER they are resolved which
happens lazily. This lambda magic makes it lazy (given by Xav).

Bug: N/A
Test: builds fine.
Change-Id: Ie59e49456e84c50e2eacdd7a339475be8d6d565c
/frameworks/support/buildSrc/diff_and_docs.gradle
e4f308c68131c027f010f3865fd7906faf8d6355 12-Apr-2017 Aurimas Liutikas <aurimas@google.com> Merge "Move to using Android Gradle Plugin 2.4.0-alpha5" into oc-dev
058995d123bc50783c787ef8799318e8797d889c 11-Apr-2017 Aurimas Liutikas <aurimas@google.com> Move to using Android Gradle Plugin 2.4.0-alpha5

- Move to the new plugin
- Fix new lint warnings (missing @RequiresApi)
- Suppress 106 doclava warning about missing @attr javadoc in R.java
files. alanv@ will investigate this further.
- Disable new resource processing as it breaks doclava
- Explicitly set jacoco version in SupportLibraryPlugin as a workaround
for android gradle plugin bug (fixed in alpha6)

Test: ./gradlew assemble createArchive generateDocs updateApi
Change-Id: I97d895b4aa2da2bc4a659f25fe54ac75401af9e6
/frameworks/support/buildSrc/diff_and_docs.gradle
b0ba50d6f1c8f7fabe3ff8c58ad43a3516fff80e 06-Mar-2017 Alan Viverette <alanv@google.com> Better API change management

Removes the current.txt file and prevents finalized API files
from being modified. Allows whitelisting of API check errors
to work around Doclava issues and API Council approved changes.

Also removes a lot of unused code from CheckApiTask.

Test: ./gradlew updateApi
Change-Id: Ic9e1800cbf8d0329e428c71be6d68e2f1e5abf4b
/frameworks/support/buildSrc/diff_and_docs.gradle
63e6c67ed5b5af0c50930e717b55f404b6249ec9 31-Mar-2017 Yigit Boyar <yboyar@google.com> Offline docs parameter

Adds offlineDocs parameter to build offline docs.

Bug: N/A
Test: N/A
Change-Id: I943aaf3daad4d8ed70046ad36ff58ac04896cd83
/frameworks/support/buildSrc/diff_and_docs.gradle
9073d9b49e0dd9d0ead2713fc88971f7679616ea 27-Mar-2017 Scott Main <smain@google.com> add "dac" HDF option to enable some doclava features
that are specific to d.android.com

Change-Id: I4f399a0f051969d28f4e5b3c441c0ebf67e5582f
/frameworks/support/buildSrc/diff_and_docs.gradle
cef9526cf31392b0e267a962944b119280654279 24-Mar-2017 Alan Viverette <alanv@google.com> Add doclava options for standalone reference docs

Test: ./gradlew distDocs
Change-Id: I39dbfb5b2713f96a84037b04b768545f056a301b
/frameworks/support/buildSrc/diff_and_docs.gradle
810a1483ccef0bb447fbe2e1056cea215ee725c1 20-Mar-2017 Alan Viverette <alanv@google.com> Read current API file from prebuilts/sdk when available

Bug: 36442466
Test: ./gradlew generateDocs
Change-Id: I8bd7c830078cf2f10d5200e0c72c634bd3dcfd9a
/frameworks/support/buildSrc/diff_and_docs.gradle
eb9f3327cd7eb89326b34e9a63685d3a47e1243f 09-Mar-2017 Alan Viverette <alanv@google.com> Fix docs federation

Now federated against the same APIs that it's compiled against. Removes
unused diff task generation method.

Bug: 36086933
Test: ./gradlew generateDocs
Change-Id: Ief16a2d9facc24b6845adfd33aa139eb2c9dbf68
/frameworks/support/buildSrc/diff_and_docs.gradle
3be55eb9a11630765c2dcd3e488061463ea7f924 23-Feb-2017 Alan Viverette <alanv@google.com> Add task for generating docs build server artifacts

Bug: 35707648
Test: ./gradlew distDocs
Change-Id: I4f03cb54eae797a3194046c8098a7f44a58db25e
/frameworks/support/buildSrc/diff_and_docs.gradle
51ac15d4fb3097c6449121f51f6a0c6e4b5d63da 10-Mar-2017 Scott Main <smain@google.com> Merge "switch support lib doclava build to use templates in new location. as per: https://googleplex-android-review.git.corp.google.com/#/c/1524290/"
e8eb63ed99c6768cf0155ed3256b16b8af751470 08-Mar-2017 Scott Main <smain@google.com> switch support lib doclava build to use templates in new location.
as per:
https://googleplex-android-review.git.corp.google.com/#/c/1524290/

Change-Id: I8f0b0558b759635ba68cf9986a5024f11331c0f2
/frameworks/support/buildSrc/diff_and_docs.gradle
7f3c5ed19f473e1f198f88921da8eb4e11acd0b8 07-Mar-2017 Yigit Boyar <yboyar@google.com> Ressurect noDocs support

This CL adds no-docs support to the buildscript since it is
needed in downstream projects.

Bug: 35707648
Test: docs build fine
Change-Id: Ie43a1bd3962f8e8b69bacaf9da12c2460bab8ebe
/frameworks/support/buildSrc/diff_and_docs.gradle
d953ba0549797a07d0c9e624114e74a79eeb8ade 23-Feb-2017 Alan Viverette <alanv@google.com> Track API change history for Support Library standalone docs

Bug: 35707648
Test: ./gradlew generateDocs
Change-Id: Ibeee7f3e3c66518938974a5bd9ba6ee424f9bfec
/frameworks/support/buildSrc/diff_and_docs.gradle
86aad038e7113080141bc05bdb4b7fac9d501bb2 07-Feb-2017 Alan Viverette <alanv@google.com> Add gradle task for finalizing API file, update 26.0.0 API file

Test: ./gradlew updateApi -Poverwrite=true -Prevision=26.0.0
Change-Id: I7ea30658ab3ad44ca0d3552750135bad3bcdcf7c
/frameworks/support/buildSrc/diff_and_docs.gradle
88c16ceecc0725f89d4b9c44cbf5ef51c1d7360d 09-Feb-2017 Yigit Boyar <yboyar@google.com> Move build setup outside the main build gradle file.

This CL moves build processing logic into buildSrc file and
behind methods. This allows creating sub projects that can
use the same build file but only import a subset of support
library.

This CL does not decrease the complexity much. It just moves it
outside the main gradle file into more logical files as an
intermediate step to cleanup the build.

Test: same output before and after
Bug : -
Change-Id: I29d136ca866cc03c20c18f8d0b33e0152b320671
/frameworks/support/buildSrc/diff_and_docs.gradle