Skip to content

Commit 2ecd836

Browse files
committed
AMMEND
1 parent 474ad2e commit 2ecd836

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

build.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ buildscript {
6464
dependencies {
6565
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
6666
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version"
67-
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicfu_version"
67+
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicfu_wasm_version"
6868
classpath "org.jetbrains.kotlinx:kotlinx-knit:$knit_version"
6969
classpath "org.jetbrains.kotlinx:binary-compatibility-validator:$binary_compatibility_validator_version"
7070
classpath "ru.vyarus:gradle-animalsniffer-plugin:1.5.4" // Android API check
@@ -386,6 +386,17 @@ if (CacheRedirector.enabled) {
386386
}
387387
}
388388

389+
// This is bootstrap atomicFU version with wasm support, remove it as regular atomic-fu will be published
390+
allprojects {
391+
configurations.all {
392+
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
393+
if (details.requested.name == 'atomicfu-wasm') {
394+
details.useVersion atomicfu_wasm_version
395+
}
396+
}
397+
}
398+
}
399+
389400
// Update node version to support latest wasm engine
390401
extensions.findByType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension.class).with {
391402
it.nodeVersion = "20.2.0"

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ kotlin_version=1.9.0
1010
# Dependencies
1111
junit_version=4.12
1212
junit5_version=5.7.0
13+
atomicfu_version=0.22.0
1314
# This is bootstrap atomicFU version with wasm support, remove it as regular atomic-fu will be published
14-
atomicfu_version=0.21.0-wasm0
15+
atomicfu_wasm_version=0.21.0-wasm0
1516
knit_version=0.4.0
1617
html_version=0.7.2
1718
lincheck_version=2.18.1

0 commit comments

Comments
 (0)