Automatically add evaluation dependency when 'ndkLib' is used.

Fixed test failure in ndkStandaloneSo.

Change-Id: I5ebd84440fdaf34c4087e0ebdb49c25e55e765c6
Create FunctionalSourceSet for native binaries.

Gradle 2.1 source all C/CppSourceSet by default.  Therefore, we need to be able to create sourceSets that are not sourced for the binary.

Change-Id: I31559c5886b498d0ffe5a341a6015cf624c98cf4
Remove unused imports; fix import order. No semantic changes.

Change-Id: I7d543f175a352a3c58f4ff7a8e92177656094a5b
Updated versions of latest supported versions of Gradle and Android plug-in.

Change-Id: If60afd85206f34f951c638bcc77fd1cbe04a8f20
Merge "Remove unused imports; fix import order. No semantic changes." into idea133
Merge "Automatically add evaluation dependency when 'ndkLib' is used." into idea133
Merge "Create FunctionalSourceSet for native binaries." into idea133
Fix multi-apk logic to use versionCode.

The store logic does not actually look for a best
match, but instead look for all compatible devices
and then simply select the one with the highest versionCode.

Changed the model to add the versionCode to the SplitOutput
so that the logic can use it.

Change-Id: I15717a4261b6697eb491cf51679d4dbe5ad57806
Merge "Fix multi-apk logic to use versionCode." into idea133
Fix proguard's handling of config files. again.

My previous fix setup the proguard files with all
possible config files, not knowing which one would
exist or not. It turns out that the tests we have
for this didn't include a case where an aar does not
have a config file.

Proguard requires all files passed during setup to actually
exist during executions.

As a first fix, I'm moving the setup in the doFirst of the
task where we know that the files either exist or don't. I
also fixed our test project to better test this area.

However this uncovered an issue that using doFirst means
that that proguard task will not use changes in config
files to trigger a task execution. If only config files
are changed, the task is considered up to date. This is
a bigger problem to fix that will come in a later fix.

Change-Id: Iecafa7181b0f827eb9f78418acaf98df8e632839
Merge "Fix proguard's handling of config files. again." into idea133
Use a closure to setup proguard's config files.

This allows to compute the list only when the
task is about the run and to properly handle cases where
only the config files are touched (and trigger a new task
execution).

Change-Id: I55aa4d7bdfc4ef95532757a009921de653f20ced
Merge "Use a closure to setup proguard's config files." into idea133
Merge "Updated versions of latest supported versions of Gradle and Android plug-in." into idea133
Update known recent versions

Change-Id: If9be4fd1fa242d98c8396ce3a65e1a8c5cab03cb
Merge "Update known recent versions" into idea133