Gradle build stuck

Gradle build stuck, keep on running but never ending Here are some key error in console logs Waiting to acquire shared lock on daemon addresses registry Daemon stuck Gradle build stuck at “Waiting to acquire shared lock on daemon addresses registry.” Here are sample logs from Gradle console 22:18:32.549 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared lock on daemon addresses registry. 22:18:32.549 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Lock acquired on daemon addresses registry. []
Gradle  Java