[admin@app-duiba001 notify-center]$ gradle test
创新互联公司专注于金牛企业网站建设,成都响应式网站建设公司,商城网站定制开发。金牛网站建设公司,为金牛等地区提供建站服务。全流程按需设计网站,专业设计,全程项目跟踪,创新互联公司专业和态度为您提供的服务
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':notify-core'.
> Could not resolve all dependencies for configuration ':notify-core:classpath'.
> Timeout waiting to lock artifact cache (/home/admin/.gradle/caches/modules-2). It is currently in use by another Gradle instance.
Owner PID: 12311
Our PID: 12540
Owner Operation: resolve configuration ':notify-core:classpath'
Our operation: resolve configuration ':notify-core:classpath'
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