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
No class files in io.mockk:mockk:1.12.6 or io.mockk:mockk:1.12.7. #891
Comments
Did you also get this error? |
I cold see the jar file though it may have been on our maven proxy. The actual problem is when trying to compile I get:
Because the |
Same here, already reported yesterday for 1.12.6 in #884. Seems not to be resolved with 1.12.7. |
Are you using Maven? Might be the same issue as If you're using Maven, can you try changing NOTE this is a temp fix, and won't be necessary in an upcoming MockK release (#905) <dependency>
<groupId>io.mockk</groupId>
<!-- <artifactId>mockk</artifactId> -->
<artifactId>mockk-jvm</artifactId>
<version>${mockk.version}</version>
<scope>test</scope>
</dependency> |
So we are using maven. This fails:
Changing it to something like this works:
Are we meant to now depend on |
Yes, if you use maven you need to depend on I think this should be added to the docs, in fact. |
Hmm you shouldn't need to exclude JUnit. If it is necessary, then I think that's something that should be fixed, if possible. |
Sorry. My project has a check that JUnit 4 does not get included as a transitive dep. I'm sure it would work without this exclude. |
Please answer the following questions for yourself before submitting an issue.
Expected Behavior
There are classes in the jar files.
Current Behavior
There are no classes in the jars. Not possible to compile against the library.
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
The text was updated successfully, but these errors were encountered: