|
1
|
1 |
/*
|
|
|
2 |
* Copyright 2011 Tomas Zeman <tzeman@volny.cz>
|
|
|
3 |
*
|
|
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
5 |
* you may not use this file except in compliance with the License.
|
|
|
6 |
* You may obtain a copy of the License at
|
|
|
7 |
*
|
|
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
9 |
*
|
|
|
10 |
* Unless required by applicable law or agreed to in writing, software
|
|
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
13 |
* See the License for the specific language governing permissions and
|
|
|
14 |
* limitations under the License.
|
|
|
15 |
*/
|
|
|
16 |
import sbt._
|
|
|
17 |
|
|
|
18 |
class RadViewProject(info: ProjectInfo) extends DefaultWebProject(info) {
|
|
|
19 |
|
|
|
20 |
val liftVer = "2.3-M1"
|
|
|
21 |
|
|
|
22 |
// lift
|
|
|
23 |
val lift_mapper = "net.liftweb" %% "lift-mapper" % liftVer
|
|
|
24 |
val lift_widgets = "net.liftweb" %% "lift-widgets" % liftVer
|
|
|
25 |
|
|
|
26 |
// mysql
|
|
|
27 |
val mysql_conn = "mysql" % "mysql-connector-java" % "5.0.8" % "runtime"
|
|
|
28 |
|
|
|
29 |
// logging
|
|
|
30 |
val logback = "ch.qos.logback" % "logback-classic" % "0.9.28" % "runtime"
|
|
|
31 |
|
|
|
32 |
// servlet + jetty
|
|
|
33 |
val servlet = "javax.servlet" % "servlet-api" % "2.5" % "provided"
|
|
|
34 |
val jetty6 = "org.mortbay.jetty" % "jetty" % "6.1.23" % "test"
|
|
|
35 |
|
|
|
36 |
// testing
|
|
|
37 |
val scalatest = "org.scalatest" % "scalatest" % "1.1" % "test"
|
|
|
38 |
val h2 = "com.h2database" % "h2" % "1.2.142" % "test"
|
|
|
39 |
|
|
|
40 |
// use local mvn repo
|
|
|
41 |
val mavenLocal = "Local Maven Repository" at "file://" + Path.userHome +
|
|
|
42 |
"/.m2/repository"
|
|
|
43 |
|
|
|
44 |
/*
|
|
|
45 |
override def compileOptions = super.compileOptions ++
|
|
|
46 |
Seq(Unchecked)
|
|
|
47 |
*/
|
|
|
48 |
}
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
// vim: set ts=2 sw=2 et:
|