Unable to download the ojdbc7 jar

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all files for configuration ‘:compileClasspath’.

Could not find com.oracle:ojdbc7:12.1.0.
Required by:
project :

The oracle jdbc driver is not available on a public repository due to the licence. One option would be to install it manually in your local maven repository and then load it in gradle script.

repositories {
1 Like


I am able to do with maven. How about the using jcenter().