github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/mobile/misc/androidstudio/README.md (about) 1 gobindPlugin invokes gomobile bind command on the specified package. 2 3 # Usage 4 5 build.gradle: 6 <pre> 7 plugins { 8 id "org.golang.mobile.bind" version "0.2.2" 9 } 10 11 gobind { 12 // package to bind 13 pkg "github.com/someone/somepackage" 14 15 // GOPATH 16 GOPATH "/home/gopher" 17 18 // Absolute path to the gomobile binary 19 GOMOBILE "/mypath/bin/gomobile" 20 21 // Absolute path to the go binary 22 GO "/usr/local/go/bin/go" 23 } 24 </pre> 25 26 For details: 27 https://plugins.gradle.org/plugin/org.golang.mobile.bind 28 29 # TODO 30 31 * Find the stale aar file (how?)