[GRADLE-3525] Servlet API should be shaded Created: 17/Aug/16  Updated: 23/Aug/16  Resolved: 23/Aug/16

Status: Resolved
Project: Gradle
Affects Version/s: 2.14.1, 3.0
Fix Version/s: 3.1-rc-1

Type: Bug
Reporter: Cédric Champeau (Inactive) Assignee: Stefan Wolf
Resolution: Fixed Votes: 0


 Description   

Issue reported in the forums: https://discuss.gradle.org/t/2-14-unexpected-servlet-api-classes-on-plugin-test-classpath/18943/2

Basically I think our shading strategy is too wide when it excludes all classes starting with `javax`: servlet-api (but probably the only example) provides classes in this package, so we should remove the exclude and replace it with a better, per-package exclude. However this might be complicated to do (how to generate that list, and how to make sure we don't break something else?).

Alternatively, we can have a "force" list to re-include after exclusion.


Generated at Wed Jun 30 12:51:04 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.