hangscer

Slick(h2数据库项目)sbt构建

2017/03/04

Slick(h2数据库项目)sbt构建

1
2
3
4
5
6
7
8
9
10
11
12
13
name := """hello-scala"""
version := "1.0"
scalaVersion := "2.11.8"
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test"
libraryDependencies += "com.typesafe.slick" %% "slick" % "3.2.0"
libraryDependencies += "com.h2database" % "h2" % "1.4.191"
fork in run := true

然后挂上VPN(搬瓦工),刷新依赖,等待下载 :)