Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

the android gradle plugin supports only kotlin gradle plugin version 1.3.10 and higher

I faced this problem too and I fixed it by doing the following:

In project level build.gradle, I have ext.kotlin_version = '1.3.10'

buildscript {
    ext.kotlin_version = '1.3.10'
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.4.0'
        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
    }
}

allprojects {
    repositories {
        google()
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

ext {
    roomVersion = '1.0.0'
    archLifecycleVersion = '1.1.0'
}
 
PREVIOUS NEXT
Tagged: #android #gradle #plugin #supports #kotlin #gradle #plugin #version #higher
ADD COMMENT
Topic
Name
1+3 =