Skip to content

Commit 3948ff3

Browse files
committed
Add JVM and native targets to kermit-ktor
* Add `jvm`, `mingwX64`, `linuxX64`, `linuxArm64`, and `androidNative` targets to the build configuration * Move the existing API tracking file to an Android-specific directory * Add a new API tracking file for the JVM target
1 parent 42ff100 commit 3948ff3

3 files changed

Lines changed: 17 additions & 0 deletions

File tree

File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
public final class co/touchlab/kermit/ktor/KermitKtorLogger : io/ktor/client/plugins/logging/Logger {
2+
public fun <init> (Lco/touchlab/kermit/Severity;Lco/touchlab/kermit/Logger;)V
3+
public fun <init> (Lco/touchlab/kermit/Severity;Lco/touchlab/kermit/LoggerConfig;Ljava/lang/String;)V
4+
public synthetic fun <init> (Lco/touchlab/kermit/Severity;Lco/touchlab/kermit/LoggerConfig;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
5+
public fun log (Ljava/lang/String;)V
6+
}
7+

extensions/kermit-ktor/build.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ kotlin {
2323
androidTarget {
2424
publishLibraryVariants()
2525
}
26+
jvm()
2627
macosX64()
2728
macosArm64()
2829
iosX64()
@@ -41,6 +42,15 @@ kotlin {
4142
nodejs()
4243
}
4344

45+
mingwX64()
46+
linuxX64()
47+
linuxArm64()
48+
49+
androidNativeArm32()
50+
androidNativeArm64()
51+
androidNativeX86()
52+
androidNativeX64()
53+
4454
sourceSets {
4555
commonMain.dependencies {
4656
implementation(libs.ktor.logging)

0 commit comments

Comments
 (0)