# Remove class from Dependent FatJar

**URL:** <https://discuss.gradle.org/t/remove-class-from-dependent-fatjar/27414>\
**Category:** Help/Discuss\
**Created:** [June 20, 2018, 12:37am UTC](https://discuss.gradle.org/t/remove-class-from-dependent-fatjar/27414 "2018-06-20T00:37:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karthik1](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/karthik1/32/6769_2.png) [@Karthik1](https://discuss.gradle.org/u/Karthik1)\
**Post date:** [June 20, 2018, 12:37am UTC](https://discuss.gradle.org/t/remove-class-from-dependent-fatjar/27414/1 "2018-06-20T00:37:29Z")

</div>

I got 2 dependencies in my Gradle project

1. a fatJar included using fileTree option.
2. Fasterxml Jackson dependency 2.4.6  
Now,  
The fatjar also includes older version of Fasterxml Jackson.  
I want to exclude that and use my 2.4.6 version.

Any suggestions on how I can override ?
