Gradle 3.1 stucked while building

Hi guys, I’m using gradle 3.1 building apache/groovy project on Mac OS X 10.11.

I found the gradlew test stucked for long time and I had been waiting for about 10 minutes.

I set the --debug and found the output below. It seems that there are some lock issues.

While I’m writting this post, it is still outputing like that…

Am I wrong somewhere? Thank you very much.

I think it’s my fault and it has been resolved.