diff options
author | Igor Yakovlev <igor.yakovlev@jetbrains.com> | 2023-01-26 15:22:53 +0100 |
---|---|---|
committer | igoriakovlev <54274820+igoriakovlev@users.noreply.github.com> | 2023-01-26 16:07:39 +0100 |
commit | 7396d887fca56a5e67ab5be92bccb0ef0d39bbee (patch) | |
tree | 28af07d6bf92d7f06b60a64847bb5cb18b5c17c8 /integration-tests/gradle/projects/it-wasm-basic/build.gradle.kts | |
parent | 7a680acb011e38c66e2039cd5d831a49b16546ad (diff) | |
download | dokka-7396d887fca56a5e67ab5be92bccb0ef0d39bbee.tar.gz dokka-7396d887fca56a5e67ab5be92bccb0ef0d39bbee.tar.bz2 dokka-7396d887fca56a5e67ab5be92bccb0ef0d39bbee.zip |
Temporary fix for missing wasm stdlib dependency from coroutines and atomicfu libraries
Diffstat (limited to 'integration-tests/gradle/projects/it-wasm-basic/build.gradle.kts')
-rw-r--r-- | integration-tests/gradle/projects/it-wasm-basic/build.gradle.kts | 11 |
1 files changed, 11 insertions, 0 deletions
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<DokkaTask>().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 |