compileScala task is failing

Hello,

I am using a gradle project with Gatling plugin. My project is failing while the task compileScala is executed. It fails with the error object gatling is not a member of package io My package name seems correct and follows the path src/gatling/scala/com/…

The Gatling plugin I am using is id ‘io.gatling.gradle’ version ‘3.6.1’
and the dependencies I am using is

dependencies {
gatling ‘org.scala-lang:scala-library:2.13.3’
gatling ‘com.amazonaws:aws-lambda-java-core:1.2.1’
gatling ‘com.amazonaws:aws-lambda-java-events:3.9.0’
gatling ‘com.amazonaws:aws-java-sdk:1.12.36’
gatling ‘com.github.phisgr:gatling-javapb:1.1.1’
gatling ‘com.github.phisgr:gatling-grpc:0.11.1’
gatling ‘org.yaml:snakeyaml:1.8’
}

Can someone help me what am I missing. Much thanks!

No idea, sorry.
Try to start from the official gradle sample (https://github.com/gatling/gatling-gradle-plugin-demo) and then, add those other deps and plugins.