Unable to download the ojdbc7 jar


(Hari) #1

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 :


(Andrei Chirinciuc) #2

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 {
   mavenLocal()
}

(Hari) #3

Andrei,

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

Thanks,
Hari.