af74217c96
on JRuby. This is quite ugly: JRuby has its own version of JLine which is older than Scala's, and JLine changed API in such a way that code written for the new version won't compile with the old one and vice versa. Sadly, this might be a reason to drop buildr, unless we can package a JRuby with it that uses the right version, or we ask people to only use the C Ruby version of buildr (which doesn't work on OS X right now!)
24 lines
579 B
Ruby
24 lines
579 B
Ruby
require 'buildr/scala'
|
|
|
|
# Version number for this release
|
|
VERSION_NUMBER = "0.0.0"
|
|
# Group identifier for your projects
|
|
GROUP = "spark"
|
|
COPYRIGHT = ""
|
|
|
|
# Specify Maven 2.0 remote repositories here, like this:
|
|
repositories.remote << "http://www.ibiblio.org/maven2/"
|
|
|
|
THIRD_PARTY_JARS = Dir["third_party/**/*.jar"]
|
|
|
|
desc "The Spark project"
|
|
define "spark" do
|
|
project.version = VERSION_NUMBER
|
|
project.group = GROUP
|
|
manifest["Implementation-Vendor"] = COPYRIGHT
|
|
compile.with THIRD_PARTY_JARS
|
|
compile.using :scalac
|
|
package(:jar)
|
|
test.using :scalatest, :fork => true
|
|
end
|