Skip to content

Commit d82b168

Browse files
mvicsokolovadkhalanskyjb
authored andcommitted
WA: Disable JS legacy transformation manually until it is completely removed from the atomicfu plugin. (#4223)
Fixes KT-71203 --------- Co-authored-by: Dmitry Khalanskiy <[email protected]>
1 parent fc112b3 commit d82b168

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

buildSrc/build.gradle.kts

+1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,5 @@ dependencies {
6363
}
6464
implementation("org.jetbrains.kotlinx:kotlinx-benchmark-plugin:0.4.9")
6565
implementation("org.jetbrains.kotlinx:kotlinx-knit:${version("knit")}")
66+
implementation("org.jetbrains.kotlinx:atomicfu-gradle-plugin:${version("atomicfu")}")
6667
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
plugins {
2+
id("org.jetbrains.kotlinx.atomicfu")
3+
}
4+
5+
// Workaround for KT-71203. Can be removed after https://github.com/Kotlin/kotlinx-atomicfu/issues/431
6+
atomicfu {
7+
transformJs = false
8+
}

buildSrc/src/main/kotlin/configure-compilation-conventions.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
66
configure(subprojects) {
77
val project = this
88
if (name in sourceless) return@configure
9-
apply(plugin = "org.jetbrains.kotlinx.atomicfu")
9+
apply(plugin = "atomicfu-conventions")
1010
tasks.withType<KotlinCompilationTask<*>>().configureEach {
1111
val isMainTaskName = name.startsWith("compileKotlin")
1212
compilerOptions {

0 commit comments

Comments
 (0)