Fixed GRADLE-2917, jacoco defult dependencies misbehave when the configuration is resolved before the jacoco tasks are triggered. Started using beforeResove() hook to avoid the problem. IMHO, we should simply add this dependency without fancy laziness. Users can always exclude it from the configuration if needed.