badoo / MVIKotlin

Extendable MVI framework for Kotlin Multiplatform with powerful debugging tools (logging and time travel), inspired by Badoo MVICore library
https://arkivanov.github.io/MVIKotlin
Apache License 2.0
828 stars 64 forks source link

Drop android() target and use plain jvm() for mvikotlin-main subproject #196

Closed audkar closed 3 years ago

audkar commented 3 years ago

Can mvikotlin-main sub-project be plain jvm() target (without android)? I can't find any code which depends on Android in it or it's dependencies. My use-case would be having plain jvm feature modules in my android application.

Benefits for plain jvm feature modules:

arkivanov commented 3 years ago

Hello @audkar . MVIKotlin targets both android and jvm. So depending on your setup Gradle will keep proper dependencies.

audkar commented 3 years ago

Ups.. Miss-configuration on my side. Everything works.

MVIKotlin targets both android and jvm

Still seems strange to have android target for three additional packages when no android specific implementation is used. Anyway... Really nice work on this awesome project!