Skip to content

Commit 00b1030

Browse files
committed
Add TERM=dumb to Gradle invocation
This disables progress bars that produce verbose console output.
1 parent c07f655 commit 00b1030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsif-java/src/main/scala/com/sourcegraph/lsif_java/buildtools/GradleBuildTool.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class GradleBuildTool(index: IndexCommand) extends BuildTool("Gradle", index) {
7575
buildCommand ++= index.finalBuildCommand(List("clean", "compileTestJava"))
7676
buildCommand += lsifJavaDependencies
7777

78-
val result = index.process(buildCommand)
78+
val result = index.process(buildCommand, env = Map("TERM" -> "dumb"))
7979
printDebugLogs(toolchains.tmp)
8080
Embedded
8181
.reportUnexpectedJavacErrors(index.app.reporter, toolchains.tmp)

0 commit comments

Comments
 (0)