diff --git a/kermit-core/src/darwinTest/wasmMain/kotlin/co/touchlab/kermit/Js.ConsoleActual.kt b/kermit-core/src/darwinTest/wasmMain/kotlin/co/touchlab/kermit/Js.ConsoleActual.kt deleted file mode 100644 index 7237b402..00000000 --- a/kermit-core/src/darwinTest/wasmMain/kotlin/co/touchlab/kermit/Js.ConsoleActual.kt +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2023 Touchlab - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - */ - -package co.touchlab.kermit - -private object ConsoleActual : ConsoleIntf { - override fun error(vararg o: Any?) { - console.error(*o) - } - - override fun warn(vararg o: Any?) { - console.warn(*o) - } - - override fun info(vararg o: Any?) { - console.info(*o) - } - - override fun log(vararg o: Any?) { - console.log(*o) - } -} \ No newline at end of file diff --git a/kermit-core/src/wasmMain/kotlin/co/touchlab/kermit/Js.ConsoleActual.kt b/kermit-core/src/wasmMain/kotlin/co/touchlab/kermit/Wasm.ConsoleActual.kt similarity index 100% rename from kermit-core/src/wasmMain/kotlin/co/touchlab/kermit/Js.ConsoleActual.kt rename to kermit-core/src/wasmMain/kotlin/co/touchlab/kermit/Wasm.ConsoleActual.kt diff --git a/kermit/build.gradle.kts b/kermit/build.gradle.kts index 95519a6c..dcb3b746 100644 --- a/kermit/build.gradle.kts +++ b/kermit/build.gradle.kts @@ -14,10 +14,7 @@ import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl import org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension -import org.jetbrains.kotlin.gradle.targets.js.testing.KotlinJsTest -import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig import org.jetbrains.kotlin.gradle.tasks.KotlinCompile -import java.time.Duration plugins { id("com.android.library")