Skip to content

Commit bbf2720

Browse files
ALikhachevwoainikk
authored andcommitted
Suppress K/JS configuration deprecation warnings
Relates to KT-68597, KT-75144
1 parent bec405b commit bbf2720

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

buildSrc/src/main/kotlin/CacheRedirector.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ private fun Project.checkRedirect(repositories: RepositoryHandler, containerName
100100
}
101101
}
102102

103+
@Suppress("DEPRECATION", "DEPRECATION_ERROR") // KT-68597, KT-68597
103104
private fun Project.configureYarnRedirects() {
104105
if (CacheRedirector.isEnabled) {
105106
plugins.withType(YarnPlugin::class) {

buildSrc/src/main/kotlin/kotlin-multiplatform-conventions.gradle.kts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ kotlin {
5656
watchosDeviceArm64()
5757
}
5858
js {
59+
@Suppress("DEPRECATION", "DEPRECATION_ERROR") // KT-68597, KT-68597
5960
outputModuleName = project.name
6061
nodejs()
6162
compilations["main"]?.dependencies {
@@ -66,6 +67,7 @@ kotlin {
6667
wasmJs {
6768
// Module name should be different from the one from JS
6869
// otherwise IC tasks that start clashing different modules with the same module name
70+
@Suppress("DEPRECATION", "DEPRECATION_ERROR") // KT-68597, KT-68597
6971
outputModuleName = project.name + "Wasm"
7072
nodejs()
7173
compilations["main"]?.dependencies {

0 commit comments

Comments
 (0)