Fixed repeating alarm's gradle 1.6 dependency, updated to use new build.gradle file format.

Change-Id: I75e5127d8f4fd1b9b2bb73085f76581d9a384b98
diff --git a/background/alarms/repeatingAlarm/gradle/wrapper/gradle-wrapper.properties b/background/alarms/repeatingAlarm/gradle/wrapper/gradle-wrapper.properties
index 5c22dec..861eddc 100644
--- a/background/alarms/repeatingAlarm/gradle/wrapper/gradle-wrapper.properties
+++ b/background/alarms/repeatingAlarm/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=http\://services.gradle.org/distributions/gradle-1.6-bin.zip
+distributionUrl=http\://services.gradle.org/distributions/gradle-1.8-bin.zip
diff --git a/background/alarms/repeatingAlarm/repeatingAlarmSample/build.gradle b/background/alarms/repeatingAlarm/repeatingAlarmSample/build.gradle
index 069b740..dc912ae 100644
--- a/background/alarms/repeatingAlarm/repeatingAlarmSample/build.gradle
+++ b/background/alarms/repeatingAlarm/repeatingAlarmSample/build.gradle
@@ -41,6 +41,8 @@
         instrumentTest.java.srcDirs = ['tests/src']
     }
 }
+// BEGIN_EXCLUDE
+// Tasks below this line will be hidden from release output
 
 task preflight (dependsOn: parent.preflight) {
     project.afterEvaluate {
@@ -53,5 +55,4 @@
     }
 }
 
-
-
+// END_EXCLUDE