diff --git a/build.gradle.kts b/build.gradle.kts index 2c6eb08c7..7e5639f3d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,8 +5,9 @@ buildscript { } dependencies { + val kotlinVersion: String by project classpath("com.android.tools.build:gradle:4.0.1") - classpath(kotlin("gradle-plugin", "1.3.72")) + classpath(kotlin("gradle-plugin", kotlinVersion)) } } diff --git a/gradle.properties b/gradle.properties index c560a233a..990e21a3e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,9 @@ # Gradle org.gradle.jvmargs=-Xmx768m +# Kotlin version +kotlinVersion = "1.4.10" + # Kotlin compiler kotlin.incremental=true