Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server SDK local dependency not resolvable by gradle (stitch version 4.4.1) #166

Closed
robert-cronin opened this issue Jun 19, 2019 · 5 comments · Fixed by #172
Closed

Server SDK local dependency not resolvable by gradle (stitch version 4.4.1) #166

robert-cronin opened this issue Jun 19, 2019 · 5 comments · Fixed by #172

Comments

@robert-cronin
Copy link

I am getting a dependency not found error for the Server SDK, it seems Gradle cannot resolve org.mongodb:stitch-server-services-mongodb-local:4.4.1 which is required by the remote dependency

Here is by build.gradle

repositories {
    jcenter()
    mavenCentral()
}
...
dependencies {
    implementation 'org.mongodb:stitch-server-core:4.4.1'
    implementation 'org.mongodb:stitch-server-services-mongodb-remote:4.4.1'
}

Here is the error message:

Could not find org.mongodb:stitch-server-services-mongodb-local:4.4.1.
Searched in the following locations:
  - https://jcenter.bintray.com/org/mongodb/stitch-server-services-mongodb-local/4.4.1/stitch-server-services-mongodb-local-4.4.1.pom
  - https://jcenter.bintray.com/org/mongodb/stitch-server-services-mongodb-local/4.4.1/stitch-server-services-mongodb-local-4.4.1.jar
  - https://repo.maven.apache.org/maven2/org/mongodb/stitch-server-services-mongodb-local/4.4.1/stitch-server-services-mongodb-local-4.4.1.pom
  - https://repo.maven.apache.org/maven2/org/mongodb/stitch-server-services-mongodb-local/4.4.1/stitch-server-services-mongodb-local-4.4.1.jar
Required by:
    project :server > org.mongodb:stitch-server-services-mongodb-remote:4.4.1
@paavithra
Copy link

Getting same issue.. were you able to resolve it

@robert-cronin
Copy link
Author

nope, I don't think this is resolvable until someone releases version 4.4.1 of the stitch-server-services-mongodb-local dependency or at least reduce the dependence to a lower, working version in server-services-mongodb-remote

@adamchel
Copy link
Contributor

Sorry for missing this earlier, the stitch-server-services-mongodb-local package should have been deprecated and removed as a dependency but it was not. I am working on a fix which should be released soon.

@robert-cronin
Copy link
Author

@adamchel no problems, thanks! I'll keep an eye out

@adamchel
Copy link
Contributor

We've just published the SDK version 4.5.0, which should removes the deprecated package entirely and should fix this issue. Please let us know if you run into any other problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants