Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to create a gradle dependecy on fork of this project? #512

Closed Unanswered
mr-kew asked this question in Q&A
Discussion options

I recently made a fork & pull request, but I want to use my changes earlier than the next version of this library.

I did following based on source dependencies page:

Add release version 1.12.0 on my fork repository.

Add to settings.gradle.kts:

sourceControl {
 gitRepository(URI.create("https://github.com/mr-kew/firebase-kotlin-sdk.git")) {
 producesModule("com.github.mr-kew:firebase-common")
 producesModule("com.github.mr-kew:firebase-auth")
 producesModule("com.github.mr-kew:firebase-firestore")
 }
}

Add to shared:build.gradle.kts:

implementation("com.github.mr-kew:firebase-common:1.12.0")
implementation("com.github.mr-kew:firebase-auth:1.12.0")
implementation("com.github.mr-kew:firebase-firestore:1.12.0")

But I am getting an error:

Could not determine the dependencies of task ':shared:cinteropFirebaseMessagingIosArm64'.
> Could not resolve all task dependencies for configuration ':shared:iosArm64CInterop'.
 > Git repository at https://github.com/mr-kew/firebase-kotlin-sdk.git did not contain a project publishing the specified dependency.
 Required by:
 project :shared
 > Git repository at https://github.com/mr-kew/firebase-kotlin-sdk.git did not contain a project publishing the specified dependency.
 Required by:
 project :shared
 > Git repository at https://github.com/mr-kew/firebase-kotlin-sdk.git did not contain a project publishing the specified dependency.
 Required by:
 project :shared

What should I do?

You must be logged in to vote

Replies: 1 comment

Comment options

we publish the modules to sonatype in the GitHub Actions, you would need to do something similar

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /