Skip to content

Commit 9be742e

Browse files
committed
WIP
1 parent bf1eacb commit 9be742e

File tree

1 file changed

+32
-14
lines changed

1 file changed

+32
-14
lines changed

settings.gradle

Lines changed: 32 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,39 @@ dependencyResolutionManagement {
3636

3737
dependencyResolutionManagement {
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

Comments
 (0)