-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.sbt
32 lines (21 loc) · 996 Bytes
/
build.sbt
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
name := "drools-scala-example"
organization := "us.bleibinha"
version := "0.0.1"
scalaVersion := "2.10.4"
libraryDependencies ++= Seq(
"com.thoughtworks.xstream" % "xstream" % "1.4.7",
"org.slf4j" % "slf4j-api" % "1.7.7",
"ch.qos.logback" % "logback-classic" % "1.1.2",
"org.scalatest" % "scalatest_2.10" % "2.1.0" % "test"
)
val droolsVersion = "6.0.1.Final"
resolvers += "JBoss public" at "http://repository.jboss.org/nexus/content/groups/public/"
libraryDependencies ++= {
"org.kie" % "kie-api" % droolsVersion ::
List("drools-compiler", "drools-core", "drools-jsr94", "drools-decisiontables", "knowledge-api")
.map("org.drools" % _ % droolsVersion)
}
val classesJarLocation = "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar"
fullClasspath in Test += Attributed.blank(file(classesJarLocation))
//fullClasspath in Runtime += Attributed.blank(file(classesJarLocation))
initialCommands := "import us.bleibinha.droolsscalaexample._"