Skip to content

Commit 3bb7f98

Browse files
ilya-gSpace Team
authored and
Space Team
committed
[stdlib] Docs: fix ambiguity in attribute request for JS deps configurations
Specify js platform and omit ir compiler type attribute since it's the only variant published
1 parent 3ce89f8 commit 3bb7f98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libraries/tools/kotlin-stdlib-docs-legacy/kotlin_big/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ modules.forEach { module ->
5555
if (module == "kotlin-test-js" || module == "kotlin-stdlib-js") {
5656
lib_src.attributes {
5757
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage, "kotlin-runtime"))
58-
attribute(Attribute.of("org.jetbrains.kotlin.js.compiler", String), "ir")
58+
attribute(Attribute.of("org.jetbrains.kotlin.platform.type", String), "js")
5959
}
6060
}
6161

libraries/tools/kotlin-stdlib-docs/kotlin_big/build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ modules.forEach { module ->
3535
if (module == "kotlin-test-js" || module == "kotlin-stdlib-js") {
3636
library.attributes {
3737
attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage::class, "kotlin-runtime"))
38-
attribute(Attribute.of("org.jetbrains.kotlin.js.compiler", String::class.java), "ir")
38+
attribute(Attribute.of("org.jetbrains.kotlin.platform.type", String::class.java), "js")
3939
}
4040
}
4141

0 commit comments

Comments
 (0)