Support @SerialId on enum members in protobuf encoding
diff --git a/build.gradle b/build.gradle
index 694facc..06ef192 100644
--- a/build.gradle
+++ b/build.gradle
@@ -103,6 +103,15 @@
             maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
         }
     }
+
+    configurations.all {
+        resolutionStrategy.eachDependency { DependencyResolveDetails details ->
+            if (details.requested.group == 'org.jetbrains.kotlin') {
+                details.useVersion kotlin_version
+            }
+        }
+    }
+
     repositories {
         mavenLocal()
         jcenter()