github.com/c-darwin/mobile@v0.0.0-20160313183840-ff625c46f7c9/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 = "github.com/c-darwin/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  }