Skip to content

Commit 2504e8c

Browse files
committed
Properly set the version of code quality tools
1 parent 5463600 commit 2504e8c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

library/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ javadoc {
145145
}
146146

147147
jacoco {
148-
setVersion(jacocoVersion)
148+
setToolVersion(jacocoVersion)
149149
}
150150

151151
jacocoTestReport {
@@ -156,18 +156,18 @@ jacocoTestReport {
156156
}
157157

158158
checkstyle {
159-
setVersion(checkstyleVersion)
159+
setToolVersion(checkstyleVersion)
160160
}
161161

162162
findbugs {
163163
excludeFilter = file('config/findbugs/findbugs-filter.xml')
164164
sourceSets = [sourceSets.main]
165165

166-
setVersion(findbugsVersion)
166+
setToolVersion(findbugsVersion)
167167
}
168168

169169
pmd {
170-
setVersion(pmdVersion)
170+
setToolVersion(pmdVersion)
171171
}
172172

173173
tasks.withType(FindBugs) {

0 commit comments

Comments
 (0)