Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Conversation

@meetjain6091
Copy link

I was working on replacing mifos-passcode/mifos-passcode to mifos-wallet/libs/mifos-passcode i added almost all library but this
mifospay-cmp-feature = { id = "mifospay.cmp.feature", version = "unspecified" }
is connected to other module called build-logic now how to proceed can u please guide me I have already added the dependencies from the plugin (CMPFeature plugin) and pasted it on mifos-passcode Gradle file

Copy link

@niyajali niyajali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@meetjain6091 Include .kotlin directory on .gitignore and remove that directly from this PR, and do other changes and let us know we'll review it again.

implementation(project(":core:data"))

implementation(libs.findLibrary("jb.composeRuntime").get())
implementation(libs.findLibrary("jb.composeViewmodel").get())

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Include these dependencies like above for e.g
implementation(libs.jb.composeRuntime) check their name version catalog (libs.version.toml)

}

// Setup protobuf configuration, generating lite Java and Kotlin classes
protobuf {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this protobuf block of code, not required

implementation(libs.multiplatform.settings.coroutines)

implementation(libs.kotlinx.coroutines.core)
implementation(libs.kotlinx.serialization.core)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@meetjain6091 what ever dependency you added below implementation(libs.kotlinx.serialization.core) is not neccessary because all of them are already added in the CMPFeatureConventionPlugin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HekmatullahAmin We don't have that plugin in this repo and we have to configure build-logic here which is lot of works and that's not necessary since it requires few dependencies .

That's why we're recommended him to manually include those dependencies directly on library Gradle file.

@HekmatullahAmin
Copy link
Member

@meetjain6091 I shared a video on how to add plugins and dependencies in mifos-passcode slack channel. go there and follow it.

@meetjain6091
Copy link
Author

meetjain6091 commented Mar 12, 2025 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants