module Buildr::Scala::Check
Scala::Check is available when using Scala::Test or Scala::Specs
Constants
- VERSION
Public Class Methods
artifact()
click to toggle source
# File lib/buildr/scala/tests.rb, line 57 def artifact custom = Buildr.settings.build['scala.check.artifact'] return custom if !!custom case when Buildr::Scala.version < "2.11" "scalacheck_#{Buildr::Scala.version_without_build}" else "scalacheck_#{Buildr::Scala.version_major_minor}" end end
classifier()
click to toggle source
# File lib/buildr/scala/tests.rb, line 53 def classifier Buildr.settings.build['scala.check.classifier'] end
dependencies()
click to toggle source
# File lib/buildr/scala/tests.rb, line 68 def dependencies return [version] if (version =~ /:/) group = case when version =~ /^1.[67]/ "org.scala-tools.testing" else "org.scalacheck" end if classifier ["#{group}:#{artifact}:jar:#{classifier}:#{version}"] else ["#{group}:#{artifact}:jar:#{version}"] end end
version()
click to toggle source
# File lib/buildr/scala/tests.rb, line 49 def version Buildr.settings.build['scala.check'] || VERSION end