logcat icon indicating copy to clipboard operation
logcat copied to clipboard

KMP support?

Open pyricau opened this issue 4 years ago • 2 comments

Wondering if this works / should work with Kotlin Multi Platform, and / or what need to change.

The main blocker is that the name logcat implies this is for Android ;)

pyricau avatar Oct 01 '21 17:10 pyricau

If this library supports KMP, it will be great! ummm...I think logcat is not hindering

chachako avatar Nov 06 '21 11:11 chachako

Currently it doesn't work in jvm-only KMP modules:

kotlin {
    jvm()
    sourceSets {
        named("jvmMain") {
            dependencies {
                implementation("com.squareup.logcat:logcat:0.1")
            }
        }
    }
}

The above configuration results in import logcat.LogcatLogger producing an error:

Unresolved reference: logcat

I suspect that's because this library is an aar.

dimsuz avatar Dec 31 '21 13:12 dimsuz