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:
35
04-findbugs/build.gradle
Normal file
35
04-findbugs/build.gradle
Normal file
@@ -0,0 +1,35 @@
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'pmd'
|
||||
apply plugin: 'checkstyle'
|
||||
apply plugin: 'findbugs'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testCompile group: 'org.testng', name: 'testng', version: '6.+'
|
||||
}
|
||||
|
||||
test {
|
||||
useTestNG()
|
||||
}
|
||||
|
||||
pmdMain {
|
||||
ruleSets = [ "basic", "strings" ]
|
||||
ignoreFailures = true
|
||||
}
|
||||
|
||||
tasks.withType(Checkstyle) {
|
||||
ignoreFailures = true
|
||||
}
|
||||
|
||||
tasks.withType(FindBugs) {
|
||||
reports {
|
||||
xml.enabled false
|
||||
html.enabled true
|
||||
}
|
||||
ignoreFailures = true
|
||||
reportLevel = 'low'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user