diff options
author | Adam Murdoch <adam.murdoch@gradleware.com> | 2012-08-21 15:36:01 +1000 |
---|---|---|
committer | Adam Murdoch <adam.murdoch@gradleware.com> | 2012-08-21 15:36:01 +1000 |
commit | 238faded3b24bcd70b2aa6bd3a6302f64f31b070 (patch) | |
tree | bed180c73208d4601a3ac372b4d08eda381bc0d3 /readme.md | |
parent | 08bd6cfc94cf36d4ab8540574fc8eaa3a6271c64 (diff) | |
download | build-238faded3b24bcd70b2aa6bd3a6302f64f31b070.tar.gz |
Separated the prototype into plugin and test apps.
The plugin implementation has moved to the gradle/ directory,
and the test applications have moved under the testapps/
directory. This change means that you now have to run
./gradlew uploadArchives in the root directory to make the
plugin available to the test application builds via a
local repository (in repo/).
See the readme.md for more details about building and using
the test applications.
Change-Id: Id9b268aa1d6d1a5621513fb788b2dc90ca2793e8
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -57,21 +57,25 @@ Have a look at the `basic/build.gradle` and `customized/build.gradle` build file The source tree contains the following: -* The `buildSrc` directory contains the plugin implementation. -* The `basic` directory contains a simple application that follows the conventions -* The `customized` directory contains an application with some custom build types, product flavors and other +* The `gradle` directory contains the plugin implementation. +* The `testapps/basic` directory contains a simple application that follows the conventions +* The `testapps/customized` directory contains an application with some custom build types, product flavors and other customizations. -* The `multiproject` directory contains an application composed from several Gradle projects. +* The `testapps/multiproject` directory contains an application composed from several Gradle projects. ## Usage -Before you start, edit the `basic/local.properties` and `customized/local.properties` files 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. +To build the plugin, run `./gradlew uploadArchives` -Try `./gradlew basic:tasks` in the root directory. +To import the plugin into the IDE, run `./gradlew idea` or `./gradlew eclipse`. -You can also run: +To build a test application: +1. cd into the root directory of the test application. +2. 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. +3. 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. |