From 7396d887fca56a5e67ab5be92bccb0ef0d39bbee Mon Sep 17 00:00:00 2001 From: Igor Yakovlev Date: Thu, 26 Jan 2023 15:22:53 +0100 Subject: Temporary fix for missing wasm stdlib dependency from coroutines and atomicfu libraries --- .../gradle/projects/it-wasm-basic/build.gradle.kts | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'integration-tests/gradle/projects/it-wasm-basic') diff --git a/integration-tests/gradle/projects/it-wasm-basic/build.gradle.kts b/integration-tests/gradle/projects/it-wasm-basic/build.gradle.kts index ff6af466..fefa81f6 100644 --- a/integration-tests/gradle/projects/it-wasm-basic/build.gradle.kts +++ b/integration-tests/gradle/projects/it-wasm-basic/build.gradle.kts @@ -34,3 +34,14 @@ tasks.withType().configureEach { } } } + +// HACK: some dependencies (coroutines -wasm0 and atomicfu -wasm0) reference deleted *-dev libs +configurations.all { + val conf = this + resolutionStrategy.eachDependency { + if (requested.version == "1.8.20-dev-3308") { + println("Substitute deleted version ${requested.module}:${requested.version} for ${conf.name}") + useVersion(project.properties["kotlin.version"] as String) + } + } +} \ No newline at end of file -- cgit