mobile/misc/androidstudio
Hyang-Ah (Hana) Kim 8c8ee830af misc/androidstudio: source code for gomobile bind gradle plugin.
Currently version 0.2.1

I messed up previous versions and plugins.gradle.org doesn't let me
remove the bad versions.

Change-Id: I9eef512633b461ff5a7fcbe11a3e104efb250d61
Reviewed-on: https://go-review.googlesource.com/12538
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-07-22 22:16:26 +00:00
..
src misc/androidstudio: source code for gomobile bind gradle plugin. 2015-07-22 22:16:26 +00:00
.gitignore misc/androidstudio: source code for gomobile bind gradle plugin. 2015-07-22 22:16:26 +00:00
README.md misc/androidstudio: source code for gomobile bind gradle plugin. 2015-07-22 22:16:26 +00:00
build.gradle misc/androidstudio: source code for gomobile bind gradle plugin. 2015-07-22 22:16:26 +00:00
settings.gradle misc/androidstudio: source code for gomobile bind gradle plugin. 2015-07-22 22:16:26 +00:00

README.md

gobindPlugin invokes gomobile bind command on the specified package.

Usage

build.gradle:

plugins {
  id "org.golang.mobile.bind" version "0.2.1"
}

gobind {
  // package to bind
  pkg "github.com/someone/somepackage"

  // GOPATH
  GOPATH "/home/gopher"

  // PATH to directories with "go" and "gomobile" tools.
  PATH "path1:path2:"
}

For details: https://plugins.gradle.org/plugin/org.golang.mobile.bind

TODO

  • Find the stale aar file (how?)