Skip to content

Commit 8731d57

Browse files
ALikhachevtbogdanova
authored andcommitted
Suppress K/JS configuration deprecation warnings
Relates to KT-68597, KT-75144
1 parent 01616ab commit 8731d57

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
@@ -46,6 +46,7 @@ kotlin {
4646
watchosDeviceArm64()
4747
}
4848
js {
49+
@Suppress("DEPRECATION", "DEPRECATION_ERROR") // KT-68597, KT-68597
4950
outputModuleName = project.name
5051
nodejs()
5152
compilations["main"]?.dependencies {
@@ -56,6 +57,7 @@ kotlin {
5657
wasmJs {
5758
// Module name should be different from the one from JS
5859
// otherwise IC tasks that start clashing different modules with the same module name
60+
@Suppress("DEPRECATION", "DEPRECATION_ERROR") // KT-68597, KT-68597
5961
outputModuleName = project.name + "Wasm"
6062
nodejs()
6163
compilations["main"]?.dependencies {

0 commit comments

Comments
 (0)