Exclude 3rd party jar in war generation


(Balusamy N) #1

Hi, I have a plugin “erwin gradle” which will create minified files…at that time of generating the jar it is downloading some dependency file like yahoocompiler, when i make the war those files also part of my build,but it is not required in the war file. it is un necessarily increasing my war size

I excluded at the time of generating the minified files and the files are not comming in the dependency tree…this looks good

When i make war, again it is downloading the file which i don’t want.Do i need to write a exclude command in war’s gradle file also??? if yes why should i exclude in jar generation, this is already excluded in jar generation. Can any one help me on this.

Regards N.Balusamy