Gradle 4.4.1 was released in december 2017! More than 5 years back! Please upgrade!
We test for compatibility with Gradle > 5.0 (but we are planning to raise this because of dependency compatibilities issues)
Thanks updated Gradle to 7.4.2, set JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64.
However, ~/projects/gatling-gradle-plugin-demo-kotlin$ gradle gatlingRun
Returns
java.util.concurrent.ExecutionException: org.gradle.api.GradleException: Failed to create Jar file /home/aidy/.gradle/caches/jars-9/87491e8cdb0229bafcb7120e23222513/jackson-core-2.15.2.jar.
~/projects/gatling-gradle-plugin-demo-kotlin$ ./gradlew wrapper --gradle-version=8.2
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.2/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
I installed Gradle 8.2 through sdkman, I am not sure where the gradlew bash script is installing gradle, but it doesn’t seem to be in my path. However, I am very grateful for your help and all the best.
Yes, we are aware of such warning. This is the reason why I mentioned we are considering to raise the gradle lower version threshold. (Because of incompatibilty between gradle versions).
gradle wrapper (aka ./gradlew) is a script that installs itself in the project directory. (see gradlew, gradle/wrapper and .gradle directories)
So when your working directory is the demo project, you can launch it with: