//this is my build.gradle file, plz help.
def var = buildscript {
ext.kotlin_version = '1.2.30'
repositories {
google()
maven { url "https://maven.google.com" }
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-
plugin:$kotlin_version"
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
I tried updating plugins too. It tells that my build configuration is incorrect and anyway I build shows error.this is config. setting img
debug type is set to auto and advanced profiling is enabled.