Update dependencies to use absolute versions
Per advice from build team, removing '+' notation from build
dependencies. This removes the requirement on having an internet
connection during builds, and reduces the risk of accidental
breakage when dependencies are updated.
Change-Id: Ief8244d03bf5ec2cdf00f58957c1d393158f7450
diff --git a/templates/base/_MODULE_/build.gradle.ftl b/templates/base/_MODULE_/build.gradle.ftl
index 77484ae..cd982cd 100644
--- a/templates/base/_MODULE_/build.gradle.ftl
+++ b/templates/base/_MODULE_/build.gradle.ftl
@@ -41,15 +41,15 @@
<#if !sample.auto_add_support_lib?has_content || sample.auto_add_support_lib == "true">
<#if sample.minSdk?matches(r'^\d+$') && sample.minSdk?number < 7>
- compile "com.android.support:support-v4:21.+"
+ compile "com.android.support:support-v4:21.0.2"
<#elseif sample.minSdk?matches(r'^\d+$') && sample.minSdk?number < 13>
- compile "com.android.support:support-v4:21.+"
- compile "com.android.support:gridlayout-v7:21.+"
- compile "com.android.support:cardview-v7:21.+"
+ compile "com.android.support:support-v4:21.0.2"
+ compile "com.android.support:gridlayout-v7:21.0.2"
+ compile "com.android.support:cardview-v7:21.0.2"
<#else>
- compile "com.android.support:support-v4:21.+"
- compile "com.android.support:support-v13:21.+"
- compile "com.android.support:cardview-v7:21.+"
+ compile "com.android.support:support-v4:21.0.2"
+ compile "com.android.support:support-v13:21.0.2"
+ compile "com.android.support:cardview-v7:21.0.2"
</#if>
</#if>
diff --git a/templates/basebuild/_MODULE_/build.gradle.ftl b/templates/basebuild/_MODULE_/build.gradle.ftl
index 12f525d..e79021c 100644
--- a/templates/basebuild/_MODULE_/build.gradle.ftl
+++ b/templates/basebuild/_MODULE_/build.gradle.ftl
@@ -37,15 +37,15 @@
<#if !sample.auto_add_support_lib?has_content || sample.auto_add_support_lib == "true">
<#if sample.minSdk?matches(r'^\d+$') && sample.minSdk?number < 7>
- compile "com.android.support:support-v4:21.+"
+ compile "com.android.support:support-v4:21.0.2"
<#elseif sample.minSdk?matches(r'^\d+$') && sample.minSdk?number < 13>
- compile "com.android.support:support-v4:21.+"
- compile "com.android.support:gridlayout-v7:21.+"
- compile "com.android.support:cardview-v7:21.+"
+ compile "com.android.support:support-v4:21.0.2"
+ compile "com.android.support:gridlayout-v7:21.0.2"
+ compile "com.android.support:cardview-v7:21.0.2"
<#else>
- compile "com.android.support:support-v4:21.+"
- compile "com.android.support:support-v13:21.+"
- compile "com.android.support:cardview-v7:21.+"
+ compile "com.android.support:support-v4:21.0.2"
+ compile "com.android.support:support-v13:21.0.2"
+ compile "com.android.support:cardview-v7:21.0.2"
</#if>
</#if>