Merge kmp-impl into development - #2447
Conversation
* MIFOSAC-323 KMP setup * fix checks failure * applied spotless * fix issues
* added all the missing KMP dependencies in the version catalog fix checks failure * format code * fix: Build Issue & Updated Dependencies * chore: Updated .gitignore --------- Co-authored-by: Sk Niyaj Ali <niyaj639@gmail.com>
…2283) refactor: moving files from the database module to the model module (openMF#2275)
* MIFOSAC-278 adding entities for the migration. here we have added entities for accounts package * MIFOSAC-278 adding entities for the migration. here we have added entities for center, client, collection sheet,group, navigation package * MIFOSAC-278 due date type converter and database module cache issue solved * MIFOSAC-278 added entities fir the rest of the modules * MIFOSAC-278 migrated model package to the room related package
* database.loan -DBflow to room * remove flow from impl * fix spotless * made suggested changes
* Directory restructure :core:designsystem to KMP * Feat: Configure theme and color * Updated components, theme, utils, colors * Update files after ci-prepush run * Fix issues related to stringResources and R class * Update files after ci-prepush run * Separate utils and utility * Refactor: Remove explicit color, size, and typography definitions * Remove mistakenly added file * Refactor: Update typography, colors
* migrate [core.model] to KMP applied spotless and detekt rename fixed spotless fix removed parcelize * fix spotless
* [database/survey] dbflow to room [database/survey] dbflow to room * removed extra changes * fixed spotless and detekt
* MIFOSAC-391 database.staff dbflow to room * remove suspend * made suggested changes * fix
* [database.group] dbflow to room * fix checks
* MIFOSAC-342 [database.center] dbFlow to room migration
* feat(office): migrated Dbflow to Room * fix: data type and removed Gson * fix: model usage in useCase * refactor: replaced entity instead of model * fix: spotless error * fix checks failure --------- Co-authored-by: Nagarjuna <nagarjunabanda4@gmail.com>
* MIFOSAC-392 [database/charge] dbflow to room * backup * Fix exception * added singleton
* refactor(core): migrate from dbflow to room in core:data and core:database * refactor(core): replace var with val in core:database * refactor(core): replace var with val in core:database and delete some files * refactor(core): update files after ci-prepush * refactor(core:database): remove columninfo annotations from room entities * chore: apply ci-prepush changes * refactor: correct import statements for client room entities * chore: update ci-prepush changes * feat(core:database): Update ClientDao * refactor(core): migrate from dbflow to room in core:data and core:database * refactor(core): replace var with val in core:database * refactor(core): replace var with val in core:database and delete some files * refactor(core): update files after ci-prepush * refactor(core:database): remove columninfo annotations from room entities * chore: apply ci-prepush changes * refactor: correct import statements for client room entities * chore: update ci-prepush changes * feat(core:database): Update ClientDao * refactor(core:database): remove columninfo annotaions from room:entities:templates * refactor(core:database): replace HashMap with emptyMap * refactor(core): restore original files DataManagerClient and ActivatePayload * refactor(core:data): migrate dbflow to room * refactor(core:database): update ClientDao * refactor(core): update ClientDao and other files in :core:data and :core:database * refactor: [database.group] dbflow to room (openMF#2313) * [database.group] dbflow to room * fix checks * refactor: [database.center] dbFlow to room migration (openMF#2307) * MIFOSAC-342 [database.center] dbFlow to room migration * refactor: [database.office] dbflow to room (openMF#2314) * feat(office): migrated Dbflow to Room * fix: data type and removed Gson * fix: model usage in useCase * refactor: replaced entity instead of model * fix: spotless error * fix checks failure --------- Co-authored-by: Nagarjuna <nagarjunabanda4@gmail.com> * refactor: [database/charge] dbflow to room (openMF#2312) * MIFOSAC-392 [database/charge] dbflow to room * backup * Fix exception * added singleton * refactor(core:database): update ClientDaoHelper and ClientAccounts * refactor(core:database): update ClientDaoHelper and ClientTypeConverters * refactor(core:database): update DAO classes and clean up comments * [database/client] dbflow to room * fix * made changes --------- Co-authored-by: Biplab Dutta <biplabdutta27@gmail.com> Co-authored-by: Nagarjuna <nagarjunabanda4@gmail.com>
* backup * fix build issue * move parcelize to model * implemented arjun's suggestion * backup * fix: Fixed Build Issue --------- Co-authored-by: Sk Niyaj Ali <niyaj639@gmail.com>
* Fixed CMP plugins and dependencies * Update CMPFeatureConventionPlugin.kt
* UI Converted to KMP * updated * updated * added other components * updated * updated * updated * updated * merged
* Replaced hilt with koin in feature module * Added RepositoryModule * migrated Dispatchers use * replaced hilt with koin in core.domain * network and database * removed hilt from repo impl * migrated hilt to koin * backup * backup * added helperModule * network module + database modules left out part * fix checks * app builds fine now * fix app crash + added missing modules * removed commented out code * removed comments * made suggested changes * changed Files to make app run * updated --------- Co-authored-by: revanthkumarJ <jrevanth101@gmail.com>
* changed Files to make app run * updated * updated * updated * updated * updated
* migrate core/common to KMP * common to KMP * fix checks * remove comments * fix checks * added ConnectivityManagerNetworkMonitor
* Initial Commit * updated * updated * updated * updated * Updated * Updated * Updated * Updated * Updated * updated * updated * updated * updated * updated * updated * Updated * Updated * Updated * Updated * Updated
* [core.database] to KMP * dependencyGuardBaseline generated * provided type for mifosdatabase + refactored
* initial setup * updated * Updated * Changed Imports in Services * Updated * Updated * Added ktorHttpClient * Added ktorHttpClient * Updated * Updated * Updated * updated mappers * updated mappers * Updated * Updated * Updated * Updated * Updated * Updated ImageLoader.Utils * changed observable to flow in data * Updated * Updated * Updated * Updated based on suggestions * Updated * Updated * Updated
Co-authored-by: Biplab Dutta <biplabdutt27@gmail.com>
|
closing in reference with #2448 |
|
@itsPronay make sure the workflows are correctly setup |
|
@itsPronay The Android build is failing, and it seems to be due to the |
@biplab1 App is building fine locally, but failing in workflow, couldn't figure out whats the issue exactly yet |
|
@itsPronay The merge branch seems to contain a folder mentioned earlier (
|
|
file:///home/runner/work/android-client/android-client/core/network/src/main/java/com/mifos/core/network/adapter/internal/ResponseCallAdapter.kt:37:39 Type mismatch: inferred type is 'ERROR CLASS: Unresolved name: HttpException', but 'kotlin.Throwable' was expected. |
|
@itsPronay Which platforms currently we're supporting in KMP |
@niyajali Currently, Android and Desktop only. |
|
|
||
| version.txt | ||
| fastlane/report.xml | ||
| firebaseAppDistributionServiceCredentialsFile.json |
There was a problem hiding this comment.
do not remove some of these mentioned from gitignore for ex: firebaseAppDistributionServiceCredentialsFile.json. have a look at the kmp-project-template what are there if it is there then keep it also here and the rest which u think might not be needed then delete.
| with(target) { | ||
| apply(plugin = "com.android.library") | ||
| // apply(plugin = "org.jetbrains.kotlin.plugin.compose") | ||
| apply(plugin = "org.jetbrains.kotlin.plugin.compose") |
There was a problem hiding this comment.
we already have one plugin AndroidApplicationComposeConventionPlugin do u think we need this one?
There was a problem hiding this comment.
no we don't need this one, I missed this one during cleanup..
…ore according to kmp-impl

Fixes - https://mifosforge.jira.com/browse/MIFOSAC-499
Didn't create a Jira ticket, click here to create new.
Please Add Screenshots If there are any UI changes.
Please make sure these boxes are checked before submitting your pull request - thanks!
Run the static analysis check
./gradlew checkorci-prepush.shto make sure you didn't break anythingIf you have multiple commits please combine them into one commit by squashing them.