Detect an existing Gatling project
Search inside the current working directory, for a directory containing:
pom.xmlfile, withio.gatling:gatling-maven-pluginplugin (Maven project)- if it also contains
kotlin-maven-pluginplugin, language is Kotlin - if it also contains
scala-maven-pluginplugin, language is Scala - otherwise language is Java
- if it also contains
build.gradleorbuild.gradle.ktsfile, withio.gatling.gradleplugin (Gradle project)- if it also contains
kotlinplugin, language is Kotlin - if it also contains
scalaplugin, language is Scala - otherwise language is Java
- if it also contains
build.sbtfile with, withio.gatling:gatling-sbtplugin (sbt project)- language is Scala.
package.jsonfile, with@gatling.io/clidependency (npm project)- if it contains
typescriptdependency, language is TypeScript - otherwise language is JavaScript.
- if it contains
If nothing matches, there is no existing Gatling project here.