The last Gradle build fails to find TestNG classes

With the last build http://services.gradle.org/distributions-snapshots/gradle-2.0-20140422220019+0000-bin.zip

the dependency

testCompile group: ‘org.testng’, name: ‘testng’, version: ‘6.8’

is resolved correctly, but no TestNG packages and classes symbols can be found, a lot of errors like this happened:

error: package org.testng does not exist import org.testng.Assert;

At the same time, it works with the build

http://services.gradle.org/distributions-snapshots/gradle-2.0-20140327231347+0000-bin.zip