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

Encountered "Could not find io.mockk:mockk-jvm:1.12.6" when updating to 1.12.6 #892

Closed
3 tasks done
alvindizon opened this issue Aug 24, 2022 · 2 comments
Closed
3 tasks done

Comments

@alvindizon
Copy link

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Expected Behavior

  • The update to version 1.12.6 should have no errors

Current Behavior

  • This new update arrived via dependabot, and we see this error on each of our module that has unit tests:
> Could not resolve all files for configuration ':feature1:debugUnitTestRuntimeClasspath'.
    > Could not find io.mockk:mockk-jvm:1.12.6.
       - https://dl.google.com/dl/android/maven2/io/mockk/mockk-jvm/1.12.6/mockk-jvm-1.12.6.pom
       - https://repo.maven.apache.org/maven2/io/mockk/mockk-jvm/1.12.6/mockk-jvm-1.12.6.pom
       ...

Failure Information (for bugs)

Steps to Reproduce

  1. Have dependabot set up for your project
  2. dependabot alerts to new MockK version

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.

  • MockK version: 1.12.6
  • OS: MacOS 12.5.1
  • Kotlin version: 1.7.0
  • JDK version: 11
  • JUnit version: 5
  • Type of test: unit test

Stack trace

> Could not resolve all files for configuration ':feature1:debugUnitTestRuntimeClasspath'.
    > Could not find io.mockk:mockk-jvm:1.12.6.
       - https://dl.google.com/dl/android/maven2/io/mockk/mockk-jvm/1.12.6/mockk-jvm-1.12.6.pom
       - https://repo.maven.apache.org/maven2/io/mockk/mockk-jvm/1.12.6/mockk-jvm-1.12.6.pom
       ...

Minimal reproducible code (the gist of this issue)

I'm reporting this issue for work, but I've also seen this issue with my personal app.

@alvindizon alvindizon changed the title "Could not find io.mockk:mockk-jvm:1.12.6" Encountered "Could not find io.mockk:mockk-jvm:1.12.6" when updating to 1.12.6 Aug 24, 2022
@3flex
Copy link

3flex commented Aug 24, 2022

This was fixed for me in 1.12.7.

@alvindizon
Copy link
Author

Interesting, dependabot didn't prompt for 1.12.7, but will try that version out. Thanks

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

No branches or pull requests

3 participants