Gradle FAQ
killall
pkill -9 -f GradleDaemon
kill -9 $(pgrep -f GradleDaemon)
Waiting to acquire shared lock on daemon addresses registry
- ~/.gradle/daemon/6.8/registry.bin.lock
[org.gradle.execution.plan.DefaultExecutionPlan] No node could be selected, nodes ready: false
[org.gradle.cache.internal.DefaultFileLockManager] Waiting to acquire shared 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.
find .gradle/ -name '*.lock'
rm -rf .gradle
rm -rf ~/.gradle/caches
rm -rf ~/.gradle/daemon
Proxy
./gradlew build \
-Dhttp.proxyHost=your.proxy.host -Dhttp.proxyPort=your_proxy_port \
-Dhttp.proxyUser=your_username -Dhttp.proxyPassword=your_password
export GRADLE_OPTS="-Dhttp.proxyHost=your.proxy.host -Dhttp.proxyPort=your_proxy_port -Dhttps.proxyHost=your.proxy.host -Dhttps.proxyPort=your_proxy_port"