Building a uberjar with Gradle

后端 未结 4 2059
耶瑟儿~
耶瑟儿~ 2020-11-27 04:28

I am a Gradle novice. I want to build a uberjar (AKA fatjar) that includes all the transitive dependencies of the project. What lines do I need to add to my \"build.gradle\"

4条回答
  •  旧巷少年郎
    2020-11-27 05:12

    Have you tried the fatjar example in the gradle cookbook?

    What you're looking for is the shadow plugin for gradle

提交回复
热议问题