Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Latest commit

 

History

History
96 lines (74 loc) · 3.96 KB

README.md

File metadata and controls

96 lines (74 loc) · 3.96 KB

DEPRECATED

agp-doc is deprecated and no additional documentation will be published here. Google is hosting new documentation at https://github.com/google/android-gradle-dsl. Thanks for stopping by!

Android Gradle Plugin documentation

This repository hosts the DSL reference and Groovydoc for every version of the Android Gradle Plugin.

Generate documentation

Create a directory for the desired version, initialize repo with the AOSP tag, build:

$ mkdir 1.2.3; cd $_
$ repo init -u https://android.googlesource.com/platform/manifest -b gradle_1.2.3
$ ../generate-docs.sh 1.2.3

The documentation is written to:

out/build/base/docs/build/docs/

Generating documentation consumes about 2.5GB per version. Unlike repo sync, which normally clones every AOSP project, generate-docs.sh only clones AOSP projects that are used to build the documentation. A case-sensitive file system is not required.

License

Copyright 2015 James Wald

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.