Skip to content

Instantly share code, notes, and snippets.

ext.printDep = { dep, indent ->
println "${indent}${dep.moduleGroup}${dep.moduleName}${dep.moduleVersion}"
dep.children.each { child ->
printDep(child, "${indent} ")
}
}
task showBuildScriptDependencies {
doLast {
buildscript.configurations.classpath.resolvedConfiguration.firstLevelModuleDependencies.each { dep ->
@ghale
ghale / gist:f72c193056cc37753539
Created June 3, 2015 19:58
Hung test worker stack trace
Deadlock Detection:
No deadlocks found.
Thread 31896: (state = BLOCKED)
- sun.misc.Unsafe.park(boolean, long) @bci=0 (Interpreted frame)
- java.util.concurrent.locks.LockSupport.park(java.lang.Object) @bci=14, line=186 (Interpreted frame)
- java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() @bci=42, line=2043 (Interpreted frame)
- org.gradle.messaging.remote.internal.hub.queue.EndPointQueue.take(java.util.Collection) @bci=36, line=49 (Interpreted frame)
- org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run() @bci=25, line=350 (Interpreted frame)