misc/androidstudio: release gradle plugin 0.2.6

Also
- include a properties file for org.golang.mobile.bind.canary
which is used to canary before release.
- update example/bind/android gradle config.

Change-Id: I1dd0ff94a772b287a2f9be1a915ea72b1c3b0d52
Reviewed-on: https://go-review.googlesource.com/23678
Reviewed-by: David Crawshaw <crawshaw@golang.org>
diff --git a/example/bind/android/app/build.gradle b/example/bind/android/app/build.gradle
index 3fb729e..3a11456 100644
--- a/example/bind/android/app/build.gradle
+++ b/example/bind/android/app/build.gradle
@@ -6,13 +6,13 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 22
-    buildToolsVersion "22.0.1"
+    compileSdkVersion 23
+    buildToolsVersion "23.0.3"
 
     defaultConfig {
         applicationId "org.golang.example.android"
         minSdkVersion 15
-        targetSdkVersion 22
+        targetSdkVersion 23
         versionCode 1
         versionName "1.0"
     }
diff --git a/example/bind/android/build.gradle b/example/bind/android/build.gradle
index 1ed912b..2804747 100644
--- a/example/bind/android/build.gradle
+++ b/example/bind/android/build.gradle
@@ -8,7 +8,7 @@
         jcenter()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:1.5.0'
+        classpath 'com.android.tools.build:gradle:2.1.0'
 
         // NOTE: Do not place your application dependencies here; they belong
         // in the individual module build.gradle files
diff --git a/example/bind/android/hello/build.gradle b/example/bind/android/hello/build.gradle
index 3a46cc8..c53cfd4 100644
--- a/example/bind/android/hello/build.gradle
+++ b/example/bind/android/hello/build.gradle
@@ -4,7 +4,7 @@
  */
 
 plugins {
-    id "org.golang.mobile.bind" version "0.2.4"
+    id "org.golang.mobile.bind" version "0.2.6"
 }
 
 gobind {
diff --git a/misc/androidstudio/README.md b/misc/androidstudio/README.md
index 696bc59..d9abe0d 100644
--- a/misc/androidstudio/README.md
+++ b/misc/androidstudio/README.md
@@ -5,7 +5,7 @@
 build.gradle:
 <pre>
 plugins {
-  id "org.golang.mobile.bind" version "0.2.4"
+  id "org.golang.mobile.bind" version "0.2.6"
 }
 
 gobind {
diff --git a/misc/androidstudio/build.gradle b/misc/androidstudio/build.gradle
index 95c6a01..545a885 100644
--- a/misc/androidstudio/build.gradle
+++ b/misc/androidstudio/build.gradle
@@ -11,7 +11,7 @@
     }
   }
   dependencies {
-    classpath "com.gradle.publish:plugin-publish-plugin:0.9.1"
+    classpath "com.gradle.publish:plugin-publish-plugin:0.9.4"
   }
 }
 
@@ -27,11 +27,12 @@
   testCompile 'junit:junit:4.11'
 }
 
+version = '0.2.6'
+
 pluginBundle {
   website = 'https://golang.org/x/mobile'
   vcsUrl = 'https://golang.org/x/mobile'
-  description = 'Plugin for gomobile projects (beta)'
-  version = '0.2.4'
+  description = 'Plugin for gomobile projects'
 
   plugins {
     gobindPlugin {
diff --git a/misc/androidstudio/src/main/resources/META-INF/gradle-plugins/org.golang.mobile.bind.canary.properties b/misc/androidstudio/src/main/resources/META-INF/gradle-plugins/org.golang.mobile.bind.canary.properties
new file mode 100644
index 0000000..edc8043
--- /dev/null
+++ b/misc/androidstudio/src/main/resources/META-INF/gradle-plugins/org.golang.mobile.bind.canary.properties
@@ -0,0 +1 @@
+implementation-class=org.golang.mobile.GobindPlugin