-
Notifications
You must be signed in to change notification settings - Fork 4
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
possible incompatibility with the gatlin plugin #10
Comments
@mfwgenerics any thoughts about this? even negative? |
Hey @corbym! Just saw this issue now. Thanks for taking a look at my humble plugin. It's hard to say what's going wrong here without a repro, but I've had some thoughts:
kapshot/kapshot-plugin-kotlin/src/main/kotlin/io/koalaql/kapshot/plugin/GenerationExtension.kt Lines 17 to 22 in 3c6021e
kapshot/kapshot-plugin-gradle/src/main/kotlin/io/koalaql/kapshot/GradlePlugin.kt Lines 22 to 27 in 3c6021e
It seems to me the problem might be in the inclusion of the runtime dependency. For example, I'm wondering if it should be "api" instead of "implementation". As a workaround, could you try adding it directly to your project/module? I've linked the Maven Central page below. https://mvnrepository.com/artifact/io.koalaql/kapshot-runtime |
It seems to be ok if I add the This can unblock me for now, thanks! |
Glad that unblocked you! I'll keep the issue open until I've gotten around to reproducing and fixing the problem. |
Firstly, thanks for some excellent libraries, very useful!
There seems to be an incompatibility with the gatlin plugin:
To replicate:
gradlew gatlingRun
I haven't looked too deeply at the issue, but it seems to me this could be easily fixed by not using
first
and usingfirstOrNull
where the generator is trying to, er, generate.The text was updated successfully, but these errors were encountered: