Unable to add gradle plugin to eclipse(luna,kepler and juno)

When I was trying add gradle plugin to eclipse(kepler,luna and juno) it is giving error like some services are not availble then it is asking still do you want to proceed if i proceed with that one gradle plug in added but I couldn’t be able to create gradle project with the following error Unexpected end of file from server Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-bin.zip’. Could anyone help me out how to solve this one?

It is not obvious what is your problem. To install an Eclipse plugin or to use it with some Gradle project? Which plugin? The one from Pivotal that is also part of Spring Tool Suite (https://github.com/spring-projects/eclipse-integration-gradle) or some other Gradle integration? Problems with download can be your network connectivity problems (HTTPS, proxy issues, …).