Join Slack
Powered by
This message was deleted.
# community-support
s
Slackbot
01/30/2024, 8:07 PM
This message was deleted.
a
Adam
01/30/2024, 8:09 PM
Can you say more about what you've set up and what you're trying to do? Are you trying to run a Java main method as a Gradle task name? Gradle tasks are different to Java main methods. What happens when you run
./gradlew run
?
Adam
01/30/2024, 8:10 PM
normally Java programs are set up using the Application plugin and defining the main class
https://docs.gradle.org/8.5/userguide/application_plugin.html#ex-configure-the-application-main-class
v
Vampire
01/30/2024, 10:50 PM
Nah, such tasks are defined by Gradle delegation from IntelliJ, when you try to run the
main
method of class
Break
from IntelliJ.
6
Views
Open in Slack
Previous
Next