Create Fat Jar in Gradle | Create Executable Jar in Gradle | Gradle Jar task

Опубликовано: 21 Октябрь 2024
на канале: raksrahul
36
1

If you want to create an executable jar of your Gradle project which is ready to run, then you are at the right place.

In this video, we will learn about creating a fat jar using Gradle. Fat jar is also known as an executable jar which has all the dependencies required to run it.

Index:
00:00 Intro
00:31 Ways to create fat jar in Gradle
00:58 No main manifest attribute error
01:09 Jar file not having dependencies
01:46 Ways to write Gradle script file
02:07 Fix No main manifest attribute error
02:44 Fix NoClassDefinitionFound error
03:32 Create fat jar using Gradle Kotlin script




#raksrahul #gradle #intellij #intellijidea