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

mockk-jvm:1.12.6 is missing the POM in mavenCentral() #897

Closed
TWiStErRob opened this issue Aug 24, 2022 · 3 comments
Closed

mockk-jvm:1.12.6 is missing the POM in mavenCentral() #897

TWiStErRob opened this issue Aug 24, 2022 · 3 comments

Comments

@TWiStErRob
Copy link

TWiStErRob commented Aug 24, 2022

Expected Behavior

testImplementation("io.mockk:mockk:1.12.6") just works

Current Behavior

I'm getting the same as with mockk-jvm:

Execution failed for task ':test:internal:compileKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':test:internal:compileKotlin'
   > Could not resolve all files for configuration ':test:internal:compileClasspath'.
      > Could not find io.mockk:mockk-jvm:1.12.6.
        Searched in the following locations:
          - 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
          - https://repo.gradle.org/gradle/libs-releases-local/io/mockk/mockk-jvm/1.12.6/mockk-jvm-1.12.6.pom
        Required by:
            project :test:internal > io.mockk:mockk:1.12.6

Failure Information (for bugs)

Have a look at https://repo.maven.apache.org/maven2/io/mockk/mockk-jvm/1.12.6/

Context

  • MockK version: 1.12.6

Note: 1.12.7 works, so maybe just leave a note in releases that this is broken?

Similar issues: #883 #891 #892

@aSemy
Copy link
Contributor

aSemy commented Aug 24, 2022

Updating the release notes is a good idea.

This will never work though:

testImplementation("io.mockk:mockk:1.12.6") just works

There's no way to change something once it's published to Maven Central.

@Raibaz
Copy link
Collaborator

Raibaz commented Aug 25, 2022

Good point, I updated the release notes.

I think this can be closed though.

@Raibaz Raibaz closed this as completed Aug 25, 2022
@TWiStErRob
Copy link
Author

TWiStErRob commented Aug 25, 2022

@aSemy I've been using it like this forever...

[versions]
mockk = "1.12.7"
[libraries]
mockk = { module = "io.mockk:mockk", version.ref = "mockk" }

+

testImplementation(libs.mockk)

Gradle is smart.

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