I am creating a spring boot application using gradle. I need to create a jar which include all needed libraries for deploying on (aws) ec2 instance.
I am trying to create a jar by...
1)click on project structure
2)then click on Artifact
3)click on + -> jar -> from modules with dependencies -> select project -> select main class
4)click on ok with default settings
5)click on build tab
6)I got a jar file but it doesn't contain classes.