github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/mobile/example/bind/android/hello/build.gradle (about)

     1  /* Copyright 2015 The Go Authors. All rights reserved.
     2   * Use of this source code is governed by a BSD-style
     3   * license that can be found in the LICENSE file.
     4   */
     5  
     6  plugins {
     7      id "org.golang.mobile.bind" version "0.2.2"
     8  }
     9  
    10  gobind {
    11      /* The Go package path; must be under one of the GOPATH elements or
    12       a relative to the current directory (e.g. ../../hello) */
    13      pkg = "golang.org/x/mobile/example/bind/hello"
    14  
    15      /* GOPATH where the Go package is; check `go env` */
    16      GOPATH = "/YOUR/GOPATH"
    17  
    18      /* Absolute path to the go binary */
    19      GO = "/PATH/TO/GO"
    20  
    21      /* Optionally, set the absolute path to the gomobile binary if the
    22      /* gomobile binary is not located in the GOPATH's bin directory. */
    23      // GOMOBILE = "/PATH/TO/GOMOBILE"
    24  }