Updates all templates to use the latest version of gradle and adds
support for multiDexEnabled, specifying compile version, and updates
repositories code.

Test: Manually tested across wear samples.

Change-Id: Icccbbba2c1832b46974b85b2bd1f568860497143
7 files changed