@@ -36,21 +36,39 @@ dependencyResolutionManagement {
3636
3737dependencyResolutionManagement {
3838 components {
39- withModule(" com.google.googlejavaformat:google-java-format" , SpotlessRule , new Action<ActionConfiguration > () {
40- @Override
41- void execute (ActionConfiguration config ) {
42- config. params(" runtime" )
39+ // withModule("com.google.googlejavaformat:google-java-format", SpotlessRule, new Action<ActionConfiguration>() {
40+ // @Override
41+ // void execute(ActionConfiguration config) {
42+ // config.params("runtime")
43+ // }
44+ // })
45+ //
46+ // withModule("com.google.guava:guava", SpotlessRule, new Action<ActionConfiguration>() {
47+ // @Override
48+ // void execute(ActionConfiguration config) {
49+ // config.params("jreRuntimeElements")
50+ // }
51+ // })
52+
53+ all(ExcludeTransitivesRule ) {
54+ params {
55+ excludeGroup(" org.checkerframework" )
56+ excludeGroup(" com.google.code.findbugs" )
57+ excludeGroup(" com.google.errorprone" )
58+ excludeGroup(" com.google.j2objc" )
59+ excludeGroup(" com.google.guava" )
60+ excludeGroup(" org.codehaus.mojo" )
61+ excludeGroup(" org.slf4j" )
62+ excludeGroup(" log4j" )
63+ excludeGroup(" commons-logging" )
64+ excludeGroup(" javax.servlet" )
65+ excludeGroup(" junit" )
66+ excludeGroup(" org.junit.vintage" )
67+ excludeGroup(" org.mockito" )
68+ excludeGroup(" net.bytebuddy" )
69+ excludeGroup(" org.objenesis" )
4370 }
44- })
45-
46- withModule(" com.google.guava:guava" , SpotlessRule , new Action<ActionConfiguration > () {
47- @Override
48- void execute (ActionConfiguration config ) {
49- config. params(" jreRuntimeElements" )
50- }
51- })
52-
53- all(ExcludeTransitivesRule )
71+ }
5472 }
5573}
5674
0 commit comments