If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
gradle plugin uses same command-line flags for gomobile and gobind as GOMOBILEFLAGS.
But thier flags are not same.
if -x or -v would be given to GOMOBILEFLAGS, gradle reports errors:
flag provided but not defined: -x
Usage of /Users/tenntenn/Documents/gopath/bin/gobind:
Java bootstrap classpath.
custom Java package path prefix used instead of the default 'go'. Valid only with -lang=java.
target language for bindings, either java, go, or objc (experimental). (default "java")
result will be written to the directory instead of stdout.
custom Objective-C name prefix used instead of the default 'Go'. Valid only with -lang=objc.
What did you expect to see?
gomobile and gobind flags should be given different variables such as GOMOBILEFLAGS and GOBINDFLAGS.
What did you see instead?
gradle reports errors.
The text was updated successfully, but these errors were encountered: