How to create jar without dependencies in intellij. I mean only jar with our main class instead of jar with all the dependencies are added to the main class jar. This way I am looking for light weight jar
@Mahendiran Palani Samy AFAIK by default intellij jars are built without the external jars (what you call light weight jar). To create a fat jar you need to add configuration, for example in maven: jar-with-dependencies - with sbt you need a plugin called sbt-assembly.