<book id="dsl">
    <bookinfo>
        <title>Android Plugin DSL Reference</title>
    </bookinfo>

    <section>
        <title>Introduction</title>
        <para>This is the DSL reference for Android Gradle Plugin.</para>
        <para>
            Start reading by finding the right extension type for the plugin you are using, e.g.
            <code>AppExtension</code>.
        </para>
    </section>

    <!--
      -
      - 1. Adding new types:
      - There are 2 ways to include a new types to this guide:
      -     * Types referenced by a property are automatically included, if there is a corresponding ${typename}.xml in the DSL source directory.
      -     * Types listed in one of the following tables are included. There must be a corresponding ${typename}.xml in the DSL source directory.
      -
      - 2. Adding new sections:
      - The section title should end with 'types' (see AssembleDslDocTask.mergeContent)
      -->

    <section>
        <title>Extension types</title>
        <para>Listed below are the Gradle extension types used by respective plugins:</para>
        <table>
            <title>Extension types</title>
            <tr><td>com.android.build.gradle.AppExtension</td></tr>
            <tr><td>com.android.build.gradle.LibraryExtension</td></tr>
            <tr><td>com.android.build.gradle.TestExtension</td></tr>
        </table>
    </section>

    <section>
        <title>Configuration blocks</title>
        <para>Listed below are the configuration blocks available within <code>android</code></para>
        <table>
            <title>Configuration blocks</title>
            <tr><td>aaptOptions</td></tr>
            <tr><td>adbOptions</td></tr>
            <tr><td>buildTypes</td></tr>
            <tr><td>compileOptions</td></tr>
            <tr><td>dataBinding</td></tr>
            <tr><td>defaultConfig</td></tr>
            <tr><td>dexOptions</td></tr>
            <tr><td>externalNativeBuild</td></tr>
            <tr><td>jacoco</td></tr>
            <tr><td>lintOptions</td></tr>
            <tr><td>packagingOptions</td></tr>
            <tr><td>productFlavors</td></tr>
            <tr><td>signingConfigs</td></tr>
            <tr><td>sourceSets</td></tr>
            <tr><td>splits</td></tr>
            <tr><td>testOptions</td></tr>
        </table>
    </section>

</book>
