Clone
Bo Zhang <bo@gradle.com>
committed
on 27 Jul 18
Disable daemon conditionally (#6106)
This is a follow-up of https://github.com/gradle/gradle-private/issues/1352. The asciidoctor plugin
we'… Show more
Disable daemon conditionally (#6106)

This is a follow-up of https://github.com/gradle/gradle-private/issues/1352. The asciidoctor plugin

we're using has a serious issue that its native library sometimes cause the daemon JVM crash.

As a workaround, we identify the following builds need to run `docs:docs` task because they depend on

`binZip` task:

- wrapper

- toolingApi

- distributions

- performance test coordinators because they're running in the default pool

This commit disables daemon by removing `--daemon` from build parameter list. (TeamCity would automatically

add `-Dorg.gradle.daemon=false` at the end of the parameter list.) Show less

green-master + 376 more