Skip to content

Commit a61fc9d

Browse files
author
Gonzalo Diaz
committed
[BUGFIX] checkstyle dependency resolution. gradle/gradle#27035 (comment)
1 parent 39c5093 commit a61fc9d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

algorithm-exercises-java/build.gradle

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,19 @@ tasks.named('test') {
4242
}
4343

4444
checkstyle {
45-
toolVersion = '10.12.6'
45+
toolVersion = '10.12.5'
4646
configFile = file("${rootDir}/config/checkstyle/checkstyle.xml")
4747
maxErrors = 0
4848
maxWarnings = 0
4949
showViolations = true
5050
}
5151

52+
configurations.checkstyle {
53+
resolutionStrategy.capabilitiesResolution.withCapability("com.google.collections:google-collections") {
54+
select("com.google.guava:guava:0")
55+
}
56+
}
57+
5258
def jacocoExclusions = [
5359
'**/*App.class',
5460
'**/CustomLogger.class'

0 commit comments

Comments
 (0)