From 7df320b4c768d352ef67ab394f9a5dbe4daf6a0e Mon Sep 17 00:00:00 2001 From: Cedric Beust Date: Tue, 13 Feb 2018 13:58:13 -0800 Subject: [PATCH] Reverting to Kotlin 1.2.10. Until https://youtrack.jetbrains.com/issue/KT-22542 is fixed. Fixes https://github.com/cbeust/kobalt/issues/472 --- kobalt/src/Build.kt | 2 +- .../src/main/kotlin/com/beust/kobalt/Constants.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kobalt/src/Build.kt b/kobalt/src/Build.kt index b691164c..20605040 100644 --- a/kobalt/src/Build.kt +++ b/kobalt/src/Build.kt @@ -25,7 +25,7 @@ val bs = buildScript { } object Versions { - val kotlin = "1.2.21" + val kotlin = "1.2.10" val okhttp = "3.9.0" val okio = "1.13.0" val retrofit = "2.3.0" diff --git a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt index 757dd6d1..0dba3e61 100644 --- a/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt +++ b/modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt @@ -9,7 +9,7 @@ object Constants { val BUILD_FILE_NAME = "Build.kt" val BUILD_FILE_DIRECTORY = "kobalt/src" val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIRECTORY, BUILD_FILE_NAME) - val KOTLIN_COMPILER_VERSION = "1.2.21" + val KOTLIN_COMPILER_VERSION = "1.2.10" internal val DEFAULT_REPOS = listOf( // "https://maven-central.storage.googleapis.com/",