Advertisement
Guest User

project configuration

a guest
Oct 21st, 2014
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. project(':foo') {
  2. subprojects {
  3. apply plugin: 'codenarc'
  4. apply plugin: 'findbugs'
  5. apply plugin: 'pmd'
  6.  
  7.  
  8. findbugs {
  9. toolVersion = '3.0.0'
  10. excludeFilter = file("${rootProject.projectDir}/config/findbugs/excludeFilter.xml")
  11. }
  12.  
  13. tasks.withType(FindBugs) {
  14. reports {
  15. xml.enabled = false
  16. html.enabled = true
  17. }
  18. }
  19.  
  20. codenarc {
  21. configFile = file("${rootProject.projectDir}/config/codenarc/codenarc.xml")
  22. }
  23.  
  24. pmd {
  25. //https://github.com/pmd/pmd/tree/master/pmd/src/main/resources/rulesets
  26. ruleSetFiles = files("${rootProject.projectDir}/config/pmd/pmd.xml")
  27. /* check configuration for http://sourceforge.net/p/pmd/bugs/1223/ ?? */
  28. toolVersion = '5.1.2'
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement