summaryrefslogtreecommitdiff
path: root/buildSrc/src
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-08-16 02:15:31 +0530
committerGitHub <noreply@github.com>2020-08-15 22:45:31 +0200
commit7bb40d109aadf49efc6b4a8b42b36eb27dd502f4 (patch)
tree15ba0e2cecc35c0c6ef467b8601ce527713b914a /buildSrc/src
parent087ab547c123e90eb4207bfe9080486d54fbf3ef (diff)
build: update to Kotlin 1.4 (#1021)
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'buildSrc/src')
-rw-r--r--buildSrc/src/main/java/Dependencies.kt11
1 files changed, 7 insertions, 4 deletions
diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt
index f8432a7d..1d096ab5 100644
--- a/buildSrc/src/main/java/Dependencies.kt
+++ b/buildSrc/src/main/java/Dependencies.kt
@@ -3,18 +3,21 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
+private const val KOTLIN_VERSION = "1.4.0"
+
object Plugins {
const val agp = "com.android.tools.build:gradle:4.0.1"
- const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.0-rc"
+ const val kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
}
object Dependencies {
object Kotlin {
object Coroutines {
- const val android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.8-1.4.0-rc"
- const val core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8-1.4.0-rc"
+ private const val version = "1.3.9"
+ const val android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$version"
+ const val core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:$version"
}
}
@@ -71,7 +74,7 @@ object Dependencies {
object Testing {
const val junit = "junit:junit:4.13"
- const val kotlin_test_junit = "org.jetbrains.kotlin:kotlin-test-junit:1.3.72"
+ const val kotlin_test_junit = "org.jetbrains.kotlin:kotlin-test-junit:$KOTLIN_VERSION"
object AndroidX {