Gradle is very slow starting with Version 2.0. It takes more than twice the time than with Gradle 1.12 on our projects. Did the URLs of the repos change or something? It takes very long on resolving dependencies testRuntime and on the eclipse tasks.
Some URLs may have changed from http to https. Perhaps try with the latest version (2.2.1). In general, this version should be considerably faster than 1.12.
I used latest 2.2.1 but it is slow too
I wonder whether this is a problem on Gradle’s side. Some things to try: 1. Declare Maven repos with explicit HTTP URLs, rather than using shortcuts such as ‘mavenCentral()’. 2. Increase memory limits for the Gradle JVM (see Gradle User Guide for details).