title: An exception occurred applying plugin request [id: 'com.android.application'] while integration Jetpack Compose
body: <p>I am trying to implement <strong>JetPack Compose</strong> using Canary 8 but getting this error every time I try to sync gradle</p>
  <blockquote>
  <p><strong>An exception occurred applying plugin request [id: 'com.android.application']</strong></p>
  <p>My app\build.gradle file is below</p>
  </blockquote>
  <pre><code>    plugins {
      id 'com.android.application'
      id 'kotlin-android'
  }
  
  android {
      compileSdkVersion 30
      buildToolsVersion &quot;30.0.0&quot;
  
      defaultConfig {
          applicationId &quot;com.example.myapplication&quot;
          minSdkVersion 21
          targetSdkVersion 30
          versionCode 1
          versionName &quot;1.0&quot;
  
          testInstrumentationRunner &quot;androidx.test.runner.AndroidJUnitRunner&quot;
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
      kotlinOptions {
          jvmTarget = '11'
          useIR = true
      }
      buildFeatures {
          compose true
      }
      composeOptions {
          kotlinCompilerExtensionVersion compose_version
          kotlinCompilerVersion '1.4.30'
      }
  }
  dependencies {
      implementation 'androidx.core:core-ktx:1.3.2'
      implementation 'androidx.appcompat:appcompat:1.2.0'
      implementation 'com.google.android.material:material:1.2.1'
      implementation &quot;androidx.compose.ui:ui:$compose_version&quot;
      implementation &quot;androidx.compose.material:material:$compose_version&quot;
      implementation &quot;androidx.compose.ui:ui-tooling:$compose_version&quot;
      implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.0-alpha06'
      implementation 'androidx.activity:activity-compose:1.3.0-alpha02'
      testImplementation 'junit:junit:4.+'
      androidTestImplementation 'androidx.test.ext:junit:1.1.2'
      androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
  }
  </code></pre>
  <blockquote>
  <p>My build.gradle file is below</p>
  </blockquote>
  <pre><code>buildscript {
      ext {
          compose_version = '1.0.0-beta01'
      }
      repositories {
          google()
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:7.0.0-alpha08'
          classpath &quot;org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.30&quot;
      }
  }
  
  task clean(type: Delete) {
      delete rootProject.buildDir
  }
  </code></pre>
  <blockquote>
  <p>and this is my gradle-wrapper.properties</p>
  </blockquote>
  <pre><code>distributionBase=GRADLE_USER_HOME
  distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.2-all.zip
  distributionPath=wrapper/dists
  zipStorePath=wrapper/dists
  zipStoreBase=GRADLE_USER_HOME
  </code></pre>