From 13ed4f75f7c0dfa5f1ec825ee8083e88db50c0c3 Mon Sep 17 00:00:00 2001 From: Juul Mobile Bot Date: Thu, 9 Jun 2022 09:22:11 +0000 Subject: [PATCH 1/2] Update kotlin to v1.7.0 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index ad508766..7f0bc3e6 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] jacoco = "0.8.7" -kotlin = "1.6.21" +kotlin = "1.7.0" okio = "3.1.0" [libraries] From 39d718dc853b9061e0bc88874e113d1d719224de Mon Sep 17 00:00:00 2001 From: Travis Wyatt Date: Wed, 15 Jun 2022 19:27:21 -0700 Subject: [PATCH 2/2] Metadata workaround --- build.gradle.kts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 454411ac..af881e7b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,6 +2,17 @@ buildscript { repositories { mavenCentral() } + + dependencies { + // Workaround for: + // > Incompatible version of Kotlin metadata. + // > Maximal supported Kotlin metadata version: 1.5.1, + // > com/juul/koap/ByteArrayReader Kotlin metadata version: 1.7.1. + // > As a workaround, it is possible to manually update 'kotlinx-metadata-jvm' version in your project. + // + // todo: Remove when binary-compatibility-validator bundles support for metadata 1.7.x. + classpath("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.4.2") + } } plugins {