FAILURE: Build failed with an exception.
What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.10 and higher.
The following dependencies do not satisfy the required version:
project ':flutter_launch' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BU?LD FAILED in 9s
Finished with error: Gradle task assembleDebug failed with exit code 1
HATASINI ALMAKTAYIM… Düzeltemedim build.gradle dosyam bu şekilde:
buildscript {
ext.kotlin_version = '1.3.21'
repositories {
google()
jcenter()
}dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
delete rootProject.buildDir
}