Skip to content

Commit 11e877d

Browse files
committed
AMMEND
1 parent 41712d9 commit 11e877d

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
@@ -62,7 +62,7 @@ buildscript {
6262
dependencies {
6363
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
6464
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokka_version"
65-
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicfu_version"
65+
classpath "org.jetbrains.kotlinx:atomicfu-gradle-plugin:$atomicfu_wasm_version"
6666
classpath "org.jetbrains.kotlinx:kotlinx-knit:$knit_version"
6767
classpath "org.jetbrains.kotlinx:binary-compatibility-validator:$binary_compatibility_validator_version"
6868
classpath "ru.vyarus:gradle-animalsniffer-plugin:1.5.4" // Android API check
@@ -384,6 +384,17 @@ if (CacheRedirector.enabled) {
384384
}
385385
}
386386

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