2
0
mirror of synced 2025-02-23 14:58:12 +00:00

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>
This commit is contained in:
Hana Kim 2016-06-02 12:33:40 -04:00 committed by Hyang-Ah Hana Kim
parent 6b7a416f79
commit df6b37ba82
6 changed files with 11 additions and 9 deletions

View File

@ -6,13 +6,13 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 22 compileSdkVersion 23
buildToolsVersion "22.0.1" buildToolsVersion "23.0.3"
defaultConfig { defaultConfig {
applicationId "org.golang.example.android" applicationId "org.golang.example.android"
minSdkVersion 15 minSdkVersion 15
targetSdkVersion 22 targetSdkVersion 23
versionCode 1 versionCode 1
versionName "1.0" versionName "1.0"
} }

View File

@ -8,7 +8,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { 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 // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files

View File

@ -4,7 +4,7 @@
*/ */
plugins { plugins {
id "org.golang.mobile.bind" version "0.2.4" id "org.golang.mobile.bind" version "0.2.6"
} }
gobind { gobind {

View File

@ -5,7 +5,7 @@ gobindPlugin invokes gomobile bind command on the specified package.
build.gradle: build.gradle:
<pre> <pre>
plugins { plugins {
id "org.golang.mobile.bind" version "0.2.4" id "org.golang.mobile.bind" version "0.2.6"
} }
gobind { gobind {

View File

@ -11,7 +11,7 @@ buildscript {
} }
} }
dependencies { 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 @@ dependencies {
testCompile 'junit:junit:4.11' testCompile 'junit:junit:4.11'
} }
version = '0.2.6'
pluginBundle { pluginBundle {
website = 'https://golang.org/x/mobile' website = 'https://golang.org/x/mobile'
vcsUrl = 'https://golang.org/x/mobile' vcsUrl = 'https://golang.org/x/mobile'
description = 'Plugin for gomobile projects (beta)' description = 'Plugin for gomobile projects'
version = '0.2.4'
plugins { plugins {
gobindPlugin { gobindPlugin {

View File

@ -0,0 +1 @@
implementation-class=org.golang.mobile.GobindPlugin