@surajchopra If you want to download the JAR and include it rather than via the dependency resolver with Maven or Gradle you should download and use the fat JAR which includes all dependencies within the JAR package:
https://github.com/heroiclabs/nakama-java#getting-started
Have a look at the getting started section of the README which covers the fat JAR example.