idea-sbt-plugin
idea-sbt-plugin copied to clipboard
Custom path for test sources in special task
If I prepare additional test task:
lazy val LoadTest = config("load") extend(Test)
and configure path for it and apply all settings:
lazy val project = Project("test-project)
.configs(LoadTest)
.settings(loadTestsSettings: _*)
val loadTestsSettings = Seq(
scalaSource in LoadTest := baseDirectory.value / "src" / "load" / "scala",
resourceDirectory in LoadTest := baseDirectory.value / "src" / "load" / "resources",
target in Gatling := baseDirectory.value / "target" / "load-test",
libraryDependencies ++= loadTestsDependencies
)
Intellij is not marking sources under as baseDirectory.value / "src" / "load" / "scala" as TestSources