Kotlin not configured

Sir skip all

Error:(23, 0) Declaring custom ‘clean’ task when using the standard Gradle lifecycle plugins is not allowed.
Open File

Check this Error only

gradle:Build : - file

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
ext.kotlin_version = ‘1.1.4-2’
repositories {
jcenter()
maven { url ‘https://maven.google.com’ }
}
dependencies {
classpath ‘com.android.tools.build:gradle:3.0.0-alpha4’
classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version”
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

apply plugin: ‘kotlin’
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
repositories {
mavenCentral()
}
dependencies {
classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version”
}
compileKotlin {
kotlinOptions {
jvmTarget = “1.8”
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = “1.8”
}
}