# sbt plugin settings

**URL:** <https://community.gatling.io/t/sbt-plugin-settings/1074>\
**Category:** Gatling (Open-Source)\
**Created:** [June 4, 2014, 2:57pm UTC](https://community.gatling.io/t/sbt-plugin-settings/1074 "2014-06-04T14:57:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Bagehot](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Alex\_Bagehot](https://community.gatling.io/u/Alex_Bagehot)\
**Post date:** [June 4, 2014, 2:57pm UTC](https://community.gatling.io/t/sbt-plugin-settings/1074/1 "2014-06-04T14:57:03Z")

</div>

Hi,

with gatling-sbt and new to SBT how can I change the script location as described in the README?  
I tried the following on the project but it didn’t work

.settings(scalaSource := new File(“src/test/gatling”))

Thanks  
Alex

---

<div class="post-metadata">

**Author:** ![Pierre\_DAL-PRA](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@Pierre\_DAL-PRA](https://community.gatling.io/u/Pierre_DAL-PRA)\
**Post date:** [June 4, 2014, 3:30pm UTC](https://community.gatling.io/t/sbt-plugin-settings/1074/2 "2014-06-04T15:30:57Z")

</div>

Hi,

As the settings are scoped in a SBT configuration specific to Gatling, you have to scope your setting accordingly : _.settings(scalaSource in Gatling := new File(“src/test/gatling”))_.

Cheers,

Pierre

---

<div class="post-metadata">

**Author:** ![Alex\_Bagehot](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@Alex\_Bagehot](https://community.gatling.io/u/Alex_Bagehot)\
**Post date:** [June 4, 2014, 4:17pm UTC](https://community.gatling.io/t/sbt-plugin-settings/1074/3 "2014-06-04T16:17:42Z")

</div>

thanks Pierre that worked
