Open kmadsen opened 1 year ago
That is very weird as MocKMP is indeed compiled with JDK 17 but targets JDK 1.8.
% javap -verbose org.kodein.mock.gradle.MocKMPGradlePlugin | grep major
major version: 52
% javap -verbose org.kodein.mock.tests.TestsWithMocks | grep major
major version: 52
% javap -verbose org.kodein.mock.Mocker | grep major
major version: 52
you should not have to target 17. Whats is the error ?
I'm not certain if this is a real issue for mocKMP but am seeing if some of the devs know if they added something that would cause this to force upgrade.
Essentially we added mocKMP to a kotlin multiplatform project in hopes to have mocking in the project. But we are building a SDK and are concerned that if we include it would force developers using our SDK to upgrade to jvm17 as well.
Can someone here provide some insight for what is causing this? Below is a shrunken version of a build.gradle.kts that shows the changes we are forced to make when adding the mockmp plugin.