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

Update Mockk Dependency to 1.12.1 #68

Closed
sandrozbinden opened this issue Dec 14, 2021 · 3 comments
Closed

Update Mockk Dependency to 1.12.1 #68

sandrozbinden opened this issue Dec 14, 2021 · 3 comments

Comments

@sandrozbinden
Copy link

The current mockk dependency (1.10.2) has issues with kotlin inline classes. Would it be possible to update to the current 1.12.1 dependency?

@cexbrayat
Copy link
Member

Hi @sandrozbinden

Thank you for opening an issue. This is a fair point! We'll look into it in the next few days, and probably cut a release with the updated dependencies 👍

@jnizet
Copy link
Member

jnizet commented Dec 17, 2021

Hi @sandrozbinden

I will do an upgrade because... why not.
But you should know that you don't need to wait for SpringMockK to upgrade in order to use a more recent, compatible version of MockK. All you need to do is declare a dependency to the MockK version you want inside your own project.

WIth gradle, it's as simple as

dependencies {
    // ...
    testImplementation("com.ninja-squad:springmockk:3.0.1")
    testImplementation("io.mockk:mockk:1.12.1")
}

@jnizet
Copy link
Member

jnizet commented Dec 17, 2021

I've released version 3.1.0

@jnizet jnizet closed this as completed Dec 17, 2021
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