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

**URL:** <https://community.gatling.io/t/how-do-i-include-a-local-gradle-module-in-my-gatling-source/8111>\
**Category:** Gatling (Open-Source)\
**Created:** [July 12, 2023, 11:10am UTC](https://community.gatling.io/t/how-do-i-include-a-local-gradle-module-in-my-gatling-source/8111 "2023-07-12T11:10:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AS-Auctane](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@AS-Auctane](https://community.gatling.io/u/AS-Auctane)\
**Post date:** [July 12, 2023, 11:10am UTC](https://community.gatling.io/t/how-do-i-include-a-local-gradle-module-in-my-gatling-source/8111/1 "2023-07-12T11:10:18Z")

</div>

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.

```auto
gatling project(":myproject")

```

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

---

<div class="post-metadata">

**Author:** ![slandelle](https://dub1.discourse-cdn.com/flex013/user_avatar/community.gatling.io/slandelle/32/4_2.png) [@slandelle](https://community.gatling.io/u/slandelle)\
**Post date:** [July 13, 2023, 5:44pm UTC](https://community.gatling.io/t/how-do-i-include-a-local-gradle-module-in-my-gatling-source/8111/2 "2023-07-13T17:44:16Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/gatling2/original/2X/b/b148e0742de35c6280726cabf3ecd3de2d320f63.png) [@system](https://community.gatling.io/u/system)\
**Post date:** [August 12, 2023, 5:44pm UTC](https://community.gatling.io/t/how-do-i-include-a-local-gradle-module-in-my-gatling-source/8111/3 "2023-08-12T17:44:35Z")

</div>

Closed on August 12, 2023, 5:44pm UTC

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