Adding ojdbc14.jar to gradle

I am trying to add ojdbc14.jar to my graddle so that I can connect to an Oracle Database. however, I get an error message. Below you will find gradle code and error message

// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
    repositories {
    dependencies {
        classpath ''
        apply plugin: 'java'
        apply plugin: 'application'
        apply plugin: 'groovy'
        apply plugin: 'Android '
        compile fileTree(dir:'libs', include:['*.jar'])
        compile files ('libs/ojdbc14.jar')
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
  allprojects {
    repositories {

However, I get this error message

FAILURE: Build failed with an exception.
  * Where:
Build file 'C:\Users\JohnT\AndroidStudioProjects\OracleApp\build.gradle' line: 12
  * What went wrong:
A problem occurred evaluating root project 'OracleApp'.
> Plugin with id 'Android ' not found.
  * Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
  Total time: 3.733 secs
  Process finished with exit code 1

Your apply plugin statements should be at the top level of the build script, not nested within the dependencies { … }.


apply plugin: 'Android '

Should be

apply plugin: 'android'