BAEL-4090: Cleaned up sources
This commit is contained in:
parent
061e3e24d9
commit
bc19610dc7
|
@ -2,15 +2,7 @@
|
|||
description = "Gradle Unused Dependencies example"
|
||||
|
||||
dependencies {
|
||||
// unused dependency sample
|
||||
implementation('com.google.guava:guava:29.0-jre')
|
||||
// indirect dependency sample
|
||||
implementation('org.apache.httpcomponents:httpclient:4.5.12')
|
||||
// webjars sample
|
||||
implementation('org.webjars:jquery:3.1.1')
|
||||
// empty jars
|
||||
implementation('org.codehaus.cargo:empty-jar:1.7.13')
|
||||
// family jar
|
||||
implementation('org.apache.openjpa:openjpa:3.1.1')
|
||||
testImplementation('junit:junit:4.12')
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ import java.lang.reflect.Method;
|
|||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.http.HttpHeaders;
|
||||
import org.apache.http.ssl.SSLContextBuilder;
|
||||
|
||||
import com.google.common.collect.ImmutableList;
|
||||
|
@ -26,8 +25,6 @@ public class UnusedDependencies {
|
|||
|
||||
private static void useHttpCore() {
|
||||
SSLContextBuilder.create();
|
||||
// does not trigger the direct dep violation
|
||||
System.out.println(HttpHeaders.ACCEPT);
|
||||
}
|
||||
|
||||
private static void useHttpClientWithReflection() {
|
||||
|
|
Loading…
Reference in New Issue