aboutsummaryrefslogtreecommitdiffstats
path: root/gradle/check.gradle
blob: 50bceae9746a9b7312a5054530f9ccdb65e76ab0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
	// Checkstyle
	// apply plugin: 'checkstyle'
	// checkstyle {
	//     ignoreFailures = true 
	//     configFile = rootProject.file('codequality/checkstyle.xml')
	// }

	// FindBugs
	apply plugin: 'findbugs'
	findbugs {
		ignoreFailures = true
	}
	findbugsTest.enabled = false

	// PMD
	// apply plugin: 'pmd'
	// tasks.withType(Pmd) { reports.html.enabled true }

	apply plugin: 'cobertura'
	cobertura {
		coverageFormats = [ 'html', 'xml' ]
	}
	githubPages {
		pages {
			from(cobertura.coverageReportDir) {
				into "docs/cobertura"
			}
		}
	}

	apply plugin: "be.insaneprogramming.gradle.animalsniffer"
	animalsniffer {
		signature = "org.codehaus.mojo.signature:java15:+@signature"
		// ignores = ["my.package.name"]
		// annotations = [] // supported annotations to signal Animal Sniffer to ignore annotated elements
	}