From 5ee7aa7077a961915bdd6a9fc239d113875bac50 Mon Sep 17 00:00:00 2001 From: Vyacheslav Gerasimov Date: Thu, 12 Oct 2023 21:25:06 +0200 Subject: [PATCH] Build: Workaround KT-61766 with `implicitDependencies` --- build.gradle.kts | 10 ++++++++++ gradle/verification-metadata.xml | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 47319c3c816..3179a945370 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -981,6 +981,16 @@ plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin: } } +dependencies { + // Drop when KT-61766 fixed + add( + configurations.implicitDependencies.name, + "org.jetbrains.kotlinx:kotlinx-collections-immutable-metadata:${rootProject.extra["versions.kotlinx-collections-immutable"]}" + ) { + isTransitive = false + } +} + afterEvaluate { if (cacheRedirectorEnabled) { rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.yarn.YarnPlugin::class.java) { diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 505f4e0f54d..25ef9ddea60 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -4120,6 +4120,12 @@ + + + + + +