Change in test's AndroidManifest.xml needed for the test to run properly
Change in test's AndroidManifest.xml needed for the test to run properly. Forgot the manifest.
CB-7044, CB-7299 Fix up PATH problems when possible.

Uses heuristics:
- Adds javac to PATH based on default install paths on Windows
- Adds javac to PATH based on JAVA_HOME
- Adds android and adb to PATH based on ANDROID_HOME
- Sets ANDROID_HOME based on location of "android"
CB-7321 Don't require ant for create script
CB-3445: Add an initial set of Gradle build scripts

These scripts will build an android project, in debug and release mode.
They also support additional library projects, such as Crosswalk, being
added to libraries.gradle (and settings.gradle). A flag can be set in
libraries.gradle to enable multi-architecture builds.
CB-3445: Add option to build and install with gradle

This gives build/cordova two new command-line arguments: --ant and
--gradle, and will select the build type from those. As a fallback
for the Cordova CLI, the environment variable ANDROID_BUILD can also be
used, set to either "ant" or "gradle".

The default is currently "ant", but it is intended for this to change in
the future.
CB-3445: Add which to checked-in node_modules
CB-3445: android: Copy Gradle wrapper from Android SDK rather than bundling a JAR
Merge branch 'gradle-build-3.x'

This introduces the gradle build system to Cordova-android, behind a flag currently
CB-3445 Speed up gradle building (incremental builds go from 10s -> 1.5s for me)

Biggest win is disabling the linter.
CB-7044 Add JAVA_HOME when not set. Be stricter about ANDROID_HOME

Also switches to using the which module over shelljs.which (better
support for .bat files)
CB-3445 Add .gradle template files for "update" as well as "create"
CB-3445 Copy gradle wrapper in build instead of create

This should play nicer with updates to the android SDK.
CB-7044 Fix typo in prev commit causing check_reqs to always fail.
CB-3445 Add gradle support clean command (plus some code cleanup)

* Don't run ant clean for gradle ever
* Don't set sdk.dir since ANDROID_HOME is not always set
* Don't export builders
CB-7330 Don't run "android update" during creation

Instead, have the build script copy do the equivalent logic on each
build.

Advantages:
- Scripts run much faster
- No more duplicate CordovaLib entries in project.properties
- Building is more independent from create/update script (more robust)
CB-7330 Fix dangling function call in last commit (broke gradle builds)
CB-7335 Add a .gitignore to android project template
Merge branch 'master' into 4.0.x (build & create script updates)

Conflicts:
	bin/lib/check_reqs.js
	bin/lib/create.js
	bin/node_modules/which/package.json
	bin/templates/cordova/lib/build.js