#88 Added Checkstyle to project

This commit is contained in:
Shekhar Gulati
2017-06-17 03:36:42 +05:30
parent 5eca5814de
commit f5d9a0b535
7 changed files with 147 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
apply plugin: 'checkstyle'
checkstyle {
configFile rootProject.file('etc/checkstyle.xml')
showViolations true
}
dependencies {
checkstyle 'com.puppycrawl.tools:checkstyle:7.7'
}
+1 -1
View File
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5-all.zip