dependencies.compile - compile time dependencies for all applications.

Contents

The source tree contains the following:

The builder directory contains the builder library.

The gradle directory contains the plugin implementation.

The tests directory contains various test applications used both as samples and tests by the plugin build system.

Usage

To build the plugin, run ./gradlew uploadArchives

To build the plugin for release, removing the SNAPSHOT from the version, run ./gradlew --init-script release.gradle <tasks>

To import the plugin into the IDE, run ./gradlew idea or ./gradlew eclipse.

To build a test application:

cd into the root directory of the test application.

Edit the local.properties file to point at your local install of the Android SDK. Normally, these files would not be checked into source control, but would be generated when the project is bootstrapped.

Run ../../gradlew tasks to see the tasks that are available.

You can also run these tasks:

assemble - builds all combinations of build type and product flavor

assemble$BuildType - build all flavors for the given build type.

assemble$ProductFlavor - build all build types for the given product flavor.