Could not resolve dev.icerock.moko:permissions
I want to use your library on a pure Kotlin module(I'm working on a legacy project and cannot use KMP yet)
I added the dependency as compileOnly
compileOnly("dev.icerock.moko:permissions:0.19.1") // To simplify the example I don't use versions catalog here
And I get this error.
:domain: Could not resolve dev.icerock.moko:permissions:0.19.1.
I only need the PermissionState class inside that module.
I think the problem is PermissionDelegate and PermissionController that requires the android/ios impl.
To avoid this, can it be split into two modules, permission-core and permission-controller(or similar)?
if your module is jvm instead of android - resolve will be failed, yes. supported only android and ios targets
@Alex009 I'm using it in a modularized Android app, and I need to use it in a pure kotlin module, but the end target is Android.
Please provide a dummy artifact for JVM....
Unresolved platforms: [desktop]