Error listing versions

Hi, I am getting the below error when trying to build my project connecting to our intranet repository.

Error listing versions of org.eclipse:text using class org.gradle.api.internal.a rtifacts.repositories.resolver.MavenVersionLister$1. Will attempt an alternate w ay to list versions. This behaviour has been deprecated and is scheduled to be r emoved in Gradle 2.0

If I connect to mavenCentral() , I dont get the above error.

Probably its trying to find out latest versions for the artifact. Is there anyway I canavoid this check .? If I do --offline ,it will work , but i just want to avoid check for new versions ? Is that possible ?

Please ignore the above clarification. It was an incorrect configuration.