Implement simpler exclusion logic for Gradle
Simplify the exclusion logic used in Gradle by implementing implicit exclusions rather than trying to detect transitive excludes. This commit reverts much of the code originally included to fix gh-1047 which adds far too much complexity to the build and still doesn't solve the underlying issue. Fixes gh-1103
This commit is contained in:
@@ -37,7 +37,7 @@ import static org.junit.Assert.assertTrue;
|
||||
/**
|
||||
* Tests for war packaging with Gradle to ensure that only the Servlet container and its
|
||||
* dependencies are packaged in WEB-INF/lib-provided
|
||||
*
|
||||
*
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public class WarPackagingTests {
|
||||
@@ -54,6 +54,7 @@ public class WarPackagingTests {
|
||||
Arrays.asList(WEB_INF_LIB_PROVIDED_PREFIX + "spring-boot-starter-jetty-",
|
||||
WEB_INF_LIB_PROVIDED_PREFIX + "jetty-util-",
|
||||
WEB_INF_LIB_PROVIDED_PREFIX + "jetty-xml-",
|
||||
WEB_INF_LIB_PROVIDED_PREFIX + "javax.servlet-",
|
||||
WEB_INF_LIB_PROVIDED_PREFIX + "jetty-continuation-",
|
||||
WEB_INF_LIB_PROVIDED_PREFIX + "jetty-io-",
|
||||
WEB_INF_LIB_PROVIDED_PREFIX + "jetty-http-",
|
||||
|
||||
Reference in New Issue
Block a user