[admin@app-duiba001 notify-center]$ gradle testapp
FAILURE: Build failed with an exception.ide
* What went wrong:gradle
A problem occurred configuring project ':notify-core'.ui
> Could not resolve all dependencies for configuration ':notify-core:classpath'.spa
> Timeout waiting to lock artifact cache (/home/admin/.gradle/caches/modules-2). It is currently in use by another Gradle instance.debug
Owner PID: 12311orm
Our PID: 12540ci
Owner Operation: resolve configuration ':notify-core:classpath'get
Our operation: resolve configuration ':notify-core:classpath'it
Lock file: /home/admin/.gradle/caches/modules-2/modules-2.lock
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
解決:
find ~/.gradle -type f -name "*.lock" | while read f; do rm $f; done