How to I keep gradle from ever talking to the daemon?
./gradlew --no-daemon -Porg.gradle.daemon=false -Dorg.gradle.daemon=false build -x test
Starting daemon
IDLE
We run jenkins nodes on ecs so the daemon doesn't seem to buy us much. In addition, we run several gradle executions in a parallel jenkins pipeline block and sometimes see daemon errors - which I would not expect:
[org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire exclusive lock on daemon addresses registry.
[org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry.
[org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on daemon addresses registry.
Daemon vm is shutting down... The daemon has exited normally or was terminated in response to a user interrupt.
It seems that gradle needs to the daemon around to then not use it. I'm going to try giving in and using the daemon which is what gradle daemon docs recommend.