Skip to content

Commit 7cad996

Browse files
ALikhachevfzhinkin
authored andcommitted
Suppress K/JS configuration deprecation warnings
Relates to KT-68597, KT-75144
1 parent 2553230 commit 7cad996

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
@@ -52,6 +52,7 @@ kotlin {
5252
watchosDeviceArm64()
5353
}
5454
js {
55+
@Suppress("DEPRECATION", "DEPRECATION_ERROR") // KT-68597, KT-68597
5556
outputModuleName = project.name
5657
nodejs()
5758
compilations["main"]?.dependencies {
@@ -62,6 +63,7 @@ kotlin {
6263
wasmJs {
6364
// Module name should be different from the one from JS
6465
// otherwise IC tasks that start clashing different modules with the same module name
66+
@Suppress("DEPRECATION", "DEPRECATION_ERROR") // KT-68597, KT-68597
6567
outputModuleName = project.name + "Wasm"
6668
nodejs()
6769
compilations["main"]?.dependencies {

0 commit comments

Comments
 (0)