move to 2.2-beta2 and local gradle3 prebuilt

Bug: 30160196
Change-Id: I285bebe832ee2f7d5a9793549d097c7a3bef0f2a
diff --git a/build.gradle b/build.gradle
index 306b8651..8768f56 100644
--- a/build.gradle
+++ b/build.gradle
@@ -14,7 +14,7 @@
         maven { url "../../prebuilts/maven_repo/android" }
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:2.2.0-beta1'
+        classpath 'com.android.tools.build:gradle:2.2.0-beta2'
     }
 }
 
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index ad76050..a1d65af 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -3,4 +3,4 @@
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip
+distributionUrl=../../../../tools/external/gradle/gradle-3.0-all.zip