IDEA Community create a new Gradle Project has no main and test folder
Answered

Please sign in to leave a comment.
Enable this option:
Then refresh the project: