add 1.2.40 to compiler repositories. (#53)

diff --git a/kotlin/kotlin_compiler_repositories.bzl b/kotlin/kotlin_compiler_repositories.bzl
index 741dfa6..aeb89f3 100644
--- a/kotlin/kotlin_compiler_repositories.bzl
+++ b/kotlin/kotlin_compiler_repositories.bzl
@@ -20,6 +20,11 @@
 )
 
 KOTLIN_RELEASES = {
+    "1.2.40": {
+        "version": "1.2.40",
+        "url": "https://github.com/JetBrains/kotlin/releases/download/v1.2.40/kotlin-compiler-1.2.40.zip",
+        "sha256": "3498571126c335be0feec24075c359f1954d46bbabccafc729ec49db1a509658",
+    },
     "1.2.30": {
         "version": "1.2.30",
         "url": "https://github.com/JetBrains/kotlin/releases/download/v1.2.30/kotlin-compiler-1.2.30.zip",
@@ -147,7 +152,7 @@
 exports_files(["src"])
 """
 
-KOTLIN_CURRENT_RELEASE = "1.2.30"
+KOTLIN_CURRENT_RELEASE = "1.2.40"
 
 _BAZEL_JAVA_LAUNCHER_VERSION = "0.8.1"