The following deprecation warning is shown with plugin version 3.3.2 and Gradle 7.4.2.
The JavaExecHandleBuilder.setMain(String) method has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the mainClass property instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.4.2/userguide/upgrading_version_7.html#java_exec_properties
The following deprecation warning is shown with plugin version 3.3.2 and Gradle 7.4.2.