Skip to content

Commit

Permalink
Added build output to terminal STDOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
Laky-64 committed Mar 14, 2023
1 parent 60cf04d commit 3a44d59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions android/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ func BuildGradlew(buildVariant string) error {
var errRes bytes.Buffer
cmd := exec.Command(path.Join(consts.ProjectPath, "gradlew"), strings.Split(buildVariant, " ")...)
cmd.Stderr = &errRes
cmd.Stdout = os.Stdout
cmd.Env = os.Environ()
cmd.Env = append(cmd.Env, "JAVA_HOME="+consts.JavaPath)
cmd.Dir = consts.ProjectPath
Expand Down

0 comments on commit 3a44d59

Please sign in to comment.