mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: disable Gradle Daemon
Build scripts aren't started often so it makes no sense to use the daemon in them. Disabling the daemon explicitly suppresses annoying "please consider using the Gradle Daemon" message in build outputs.
This commit is contained in:
@@ -68,6 +68,7 @@ class GradleRunner {
|
||||
command.add("${projectDir.absolutePath}/$gradleScript".toString())
|
||||
command.addAll(tasks)
|
||||
command.add('--stacktrace')
|
||||
command.add('--no-daemon')
|
||||
def process = new ProcessBuilder(command).directory(projectDir).start()
|
||||
process.consumeProcessOutputStream((OutputStream)System.out)
|
||||
process.consumeProcessErrorStream((OutputStream)System.err)
|
||||
|
||||
Reference in New Issue
Block a user