mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-03-31 06:03:36 +02:00
initial import of project
This commit is contained in:
24
03-checkstyle/build.gradle
Normal file
24
03-checkstyle/build.gradle
Normal file
@@ -0,0 +1,24 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'pmd'
|
||||
apply plugin: 'checkstyle'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testCompile group: 'org.testng', name: 'testng', version: '6.+'
|
||||
}
|
||||
|
||||
test {
|
||||
useTestNG()
|
||||
}
|
||||
|
||||
pmdMain {
|
||||
ruleSets = [ "basic", "strings" ]
|
||||
ignoreFailures = true
|
||||
}
|
||||
|
||||
tasks.withType(Checkstyle) {
|
||||
ignoreFailures = true
|
||||
}
|
||||
Reference in New Issue
Block a user