We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 299d0c9 commit 7103e65Copy full SHA for 7103e65
gradle/compile-js-multiplatform.gradle
@@ -9,9 +9,9 @@ kotlin {
9
fromPreset(presets.js, 'js') {
10
// Enable built-in test runner only for IR target.
11
// These runners don't support changing js module name change.
12
- if (js.hasProperty("irTarget")) {
+ if (js.hasProperty("irTarget") && irTarget != null) {
13
irTarget.nodejs()
14
- irTarget?.compilations['main']?.dependencies {
+ irTarget.compilations['main']?.dependencies {
15
api "org.jetbrains.kotlinx:atomicfu-js:$atomicfu_version"
16
}
17
0 commit comments