Module: Buildr::FindBugs

Includes:
Extension
Included in:
Project
Defined in:
lib/buildr-findBugs.rb

Defined Under Namespace

Classes: FindBugsTask

Constant Summary collapse

VERSION =
"1.3.9"
REQUIRES =
["com.google.code.findbugs:findbugs-ant:jar:#{version}"]

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.requiresObject



17
18
19
# File 'lib/buildr-findBugs.rb', line 17

def requires
  @requires ||= Buildr.transitive(REQUIRES).each(& :invoke).map(& :to_s)
end

.versionObject



9
10
11
# File 'lib/buildr-findBugs.rb', line 9

def version
  Buildr.settings.build['findbugs'] || VERSION
end

Instance Method Details

#findBugs(*deps, &block) ⇒ Object



117
118
119
# File 'lib/buildr-findBugs.rb', line 117

def findBugs(* deps, & block)
  task('findBugs').enhance deps, & block
end