main
15128022404 1 year ago
parent 12cb0167d0
commit fc40262d50

@ -25,7 +25,7 @@ func use(ctx *cli.Context) (err error) {
if err = mkSymlink(targetV, goroot); err != nil {
return cli.Exit(errstring(err), 1)
}
if output, err := exec.Command(filepath.Join(goroot, "bin", "java"), "--version").Output(); err == nil {
if output, err := exec.Command(filepath.Join(goroot, "bin", "gradle"), "-").Output(); err == nil {
fmt.Print(string(output))
}
return nil

Loading…
Cancel
Save