How do i include a local gradle module in my gatling source

Hey, I’m trying to do the following with a multi module gradle project. gatlin is being used in the test module and then i have a client lib which has the request objects i can toString() on. When i include this module in the test module like below, i can access the classes and it compiles. But at runtime i start getting class not found errors. i’ve tried every combo of gatlingImplementation, gatlingRuntimeOnly and gatling. Also my project is in Java 17.

gatling project(":myproject")

How do i include the gradle module at runtime while gatling tests are running?

This is really a gradle question, not a Gatling one. You’re more likely to get a solution from a gradle expert on a gradle official forum.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.