Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KMP support? #8

Open
pyricau opened this issue Oct 1, 2021 · 2 comments
Open

KMP support? #8

pyricau opened this issue Oct 1, 2021 · 2 comments

Comments

@pyricau
Copy link
Member

pyricau commented Oct 1, 2021

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 ;)

@chachako
Copy link

chachako commented Nov 6, 2021

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

@dimsuz
Copy link

dimsuz commented Dec 31, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants