title: How to add design dependency in android studio 3.0. its not working in standard way
body: <pre><code>apply plugin: 'com.android.application'
  
  android {  
      compileSdkVersion 26 
      defaultConfig {  
          applicationId "com.example.rohit.ironman"  
          minSdkVersion 15  
          targetSdkVersion 26  
          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:26.0.0-beta1'
      implementation 'com.android.support.constraint:constraint-layout:1.0.2'
      testImplementation 'junit:junit:4.12'
      androidTestImplementation 'com.android.support.test:runner:0.5'
      androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
      compile 'com.android.support:design:26.1.1'
  }
  </code></pre>
  
  <p>I have also tried-<br>
  Implementation <code>'com.android.support:design:26.1.1'</code>
  instead of<br>
  compile <code>'com.android.support:design:26.1.1'</code> 
  but still the gradle sync fails<br>
  my gradle version is 4.1<br>
  android plugin version is 3.0.1</p>