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 { 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]