Skip to content

Commit 53d9b60

Browse files
style(checkstyle): use google checkstyle
1 parent 973d153 commit 53d9b60

File tree

17 files changed

+282
-127
lines changed

17 files changed

+282
-127
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
- .utility/patch-openjdk7.sh
2929
- .utility/decrypt-service-instance-apikeys.sh
3030
script:
31-
- ./gradlew checkstyleMain
32-
- ./gradlew checkstyleTest
3331
- travis_retry .utility/travis-run-tests.sh
3432
after_success:
3533
- bash <(curl -s https://codecov.io/bash)

assistant/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ signArchives {
5454

5555
checkstyle {
5656
configFile = rootProject.file('checkstyle.xml')
57+
toolVersion '8.30'
5758
ignoreFailures = false
5859
}
5960

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ javadoc {
2424
}
2525

2626
checkstyle {
27+
toolVersion '8.30'
2728
ignoreFailures = false
2829
}
2930

checkstyle.xml

Lines changed: 267 additions & 125 deletions
Large diffs are not rendered by default.

common/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ signArchives {
5454

5555
checkstyle {
5656
configFile = rootProject.file('checkstyle.xml')
57+
toolVersion '8.30'
5758
ignoreFailures = false
5859
}
5960

compare-comply/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ signArchives {
5454

5555
checkstyle {
5656
configFile = rootProject.file('checkstyle.xml')
57+
toolVersion '8.30'
5758
ignoreFailures = false
5859
}
5960

discovery/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ checkstyleTest {
5858

5959
checkstyle {
6060
configFile = rootProject.file('checkstyle.xml')
61+
toolVersion '8.30'
6162
ignoreFailures = false
6263
}
6364

examples/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ artifacts {
3030

3131
checkstyle {
3232
configFile = rootProject.file('checkstyle.xml')
33+
toolVersion '8.30'
3334
}
3435

3536
dependencies {

ibm-watson/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ checkstyleTest {
6060

6161
checkstyle {
6262
configFile = rootProject.file('checkstyle.xml')
63+
toolVersion '8.30'
6364
ignoreFailures = false
6465
}
6566

language-translator/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ signArchives {
5454

5555
checkstyle {
5656
configFile = rootProject.file('checkstyle.xml')
57+
toolVersion '8.30'
5758
ignoreFailures = false
5859
}
5960

0 commit comments

Comments
 (0)