
There are tests in multiple modules of the project. To make sure all the generated sources are present.

To get tools/base to compile in IntelliJ, first run You can open this project with IntelliJ as there is already a tools/base/.idea setup. The code of the plugin and its dependencies is located in tools/base. gradlew :base:build-system:integration-test:: -tests= Editing the plugin gradlew connectedIntegrationTest -tests=MultiProjectConnectedTest

To run a specific connectedIntegrationTest, run: To run the tests for everything built with Gradle, including the local build of the plugin, run the following commandĪdditionally, you should connect a device to your workstation and run: To build the Android Gradle Plugin with the data binding runtime libraries, run The above command publishes the plugin to a local Maven repository located in.

So, to execute the command above, you can simply run gradlew :pAGL). (Tip: Gradle allows camel-case abbreviations for task names. To ensure you are using the right version of Gradle, please use the Gradle wrapper scripts (gradlew) at the root of the project to build ( more Gradle wrapper info here) Once you have checked out the source code, the Gradle Plugin code can be found under tools/base Building the pluginĪll of the projects are built together in a multi-module Gradle project setup. Get the Source Codeįollow the instructions here to checkout the source code. This page describes how to build the Android Gradle plugin, and to test it.
