title: Error in using android dataBinding
body: <p>There is a problem when I enable dataBinding in app/build.gradle that gives me this error: "Error:Failed to resolve: support-v4". Below is the build file with dependencies and libraries:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 27
      dataBinding {
          enabled = true
      }
      defaultConfig {
          applicationId "com.dxhf.studio.databinding"
          minSdkVersion 16
          targetSdkVersion 27
          versionCode 1
          versionName "1.0"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
  }
  
  dependencies {
      implementation fileTree(include: ['*.jar'], dir: 'libs')
      implementation 'com.android.support:appcompat-v7:27.0.2'
      testImplementation 'junit:junit:4.12'
      implementation 'com.android.support:design:27.0.2'
  }
  </code></pre>
  
  <p>I added the support-v4 but it didn't solve the problem and also there is no issue when removing the dataBinding part. What causes the problem? </p>
  
  <p><strong>Update 1.</strong>
  This is my project level Gradle file.</p>
  
  <pre><code>buildscript {
  
  repositories {
      google()
      jcenter()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:3.0.1'
  
      // NOTE: Do not place your application dependencies here; they belong
      // in the individual module build.gradle files
    }
  }
  
  allprojects {
     repositories {
        google()
        jcenter()
  
    }
  }
  
  task clean(type: Delete) {
     delete rootProject.buildDir
  }
  </code></pre>