deprecated gradle features were used in this build, making it incompatible with gradle 8.0.
=> add ↓ to gradle.properties
org.gradle.warning.mode=all
then
he JavaExec.main property has been deprecated
change build.gradle
plugins {
id "application"
}
apply plugin : "java"
application {
mainClass = 'xxx.xxx'
}
then
gradle run