File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -6,18 +6,13 @@ apply from: rootProject.file('gradle/node-js.gradle')
66
77kotlin {
88 js {
9- // In 1.3.7x js() has not member `moduleName`
10- // In 1.4.x it has and allow to safety set compiler output file name and does not break test integration
11- if (it. hasProperty(" moduleName" )) {
12- moduleName = project. name
13- }
9+ moduleName = project. name
1410
15- // In 1.3.7x js() has not member `irTarget`
1611 // In 1.4.x it has in `both` and `legacy` mode and js() is of type `KotlinJsTarget`
1712 // `irTarget` is non-null in `both` mode
1813 // and contains appropriate `irTarget` with type `KotlinJsIrTarget`
1914 // `irTarget` is null in `legacy` mode
20- if (it. hasProperty( " irTarget " ) && it . irTarget != null ) {
15+ if (it. irTarget != null ) {
2116 irTarget. nodejs()
2217 irTarget. compilations[' main' ]?. dependencies {
2318 api " org.jetbrains.kotlinx:atomicfu-js:$atomicfu_version "
You can’t perform that action at this time.
0 commit comments