Skip to content

Commit

Permalink
Update deprecated WASM warning suppressions
Browse files Browse the repository at this point in the history
  • Loading branch information
russell committed Oct 17, 2024
1 parent 1c0abf9 commit 0f9a6de
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import org.gradle.api.Project
import org.gradle.kotlin.dsl.getByType
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl

// TODO are there better ways to inject this function into build scripts?
open class StandardConfigExtension {
Expand Down
1 change: 0 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@
org.gradle.jvmargs=-Xmx2g
android.useAndroidX=true
kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.wasm.stability.nowarn=true
2 changes: 1 addition & 1 deletion multiplatform-settings-no-arg/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinNativeTarget
import org.jetbrains.kotlin.gradle.plugin.mpp.NativeBuildType
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.konan.target.Family.MINGW

plugins {
Expand Down
4 changes: 2 additions & 2 deletions multiplatform-settings/node-tests/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl

/*
* Copyright 2024 Russell Wolf
*
Expand All @@ -16,6 +14,8 @@ import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
* limitations under the License.
*/

import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl

plugins {
id("standard-configuration-without-android")
}
Expand Down
2 changes: 1 addition & 1 deletion sample/app-wasm-js/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl

/*
* Copyright 2019 Russell Wolf
Expand Down
2 changes: 1 addition & 1 deletion sample/shared/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl

/*
* Copyright 2020 Russell Wolf
Expand Down

0 comments on commit 0f9a6de

Please sign in to comment.