Skip to content

Commit e2ce887

Browse files
committed
Updating toolversion for checkstyle, PMD and findbugs on build.gradle
Upgrading gradle version on travis
1 parent 2b27902 commit e2ce887

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

‎.travis.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ script: gradle check
77
branches:
88
only: develop
99

10+
before_script:
11+
- wget http://services.gradle.org/distributions/gradle-3.4.1-bin.zip
12+
- unzip gradle-3.4.1-bin.zip
13+
- export GRADLE_HOME=$PWD/gradle-3.4.1
14+
- export PATH=$GRADLE_HOME/bin:$PATH
15+
1016
notifications:
1117
email: true
1218
recipients:

‎build.gradle‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,13 @@ dependencies {
2020

2121
// Checkstyle configuration
2222
checkstyle {
23-
toolVersion = '6.1.1'
23+
toolVersion = '6.14.1'
2424
}
2525

2626
// FindBugs configuration
27+
findbugs {
28+
toolVersion = "3.0.1"
29+
}
2730
tasks.withType(FindBugs) {
2831
reports {
2932
xml.enabled = false
@@ -33,6 +36,7 @@ tasks.withType(FindBugs) {
3336

3437
// PMD Configuration
3538
pmd {
39+
toolVersion = '5.4.1'
3640
ruleSets = ["java-basic"]
3741
}
3842
tasks.withType(Pmd) {
@@ -46,4 +50,4 @@ test {
4650
testLogging {
4751
events "PASSED", "STARTED", "FAILED", "SKIPPED"
4852
}
49-
}
53+
}

0 commit comments

Comments
 (0)