-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
38 lines (36 loc) · 928 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
33
34
35
36
37
38
lazy val root = project
.in(file("."))
.settings(
scalaVersion := "2.11.8",
name := "playjpa-root",
packagedArtifacts := Map.empty,
publishLocal := {},
publish := {}
)
.aggregate(core, plugin)
lazy val core = project
.in(file("playjpa"))
.settings(
libraryDependencies ++= Seq(
"com.typesafe.play" %% "play-java-jpa" % "2.5.4" % "provided",
"org.hibernate" % "hibernate-entitymanager" % "5.1.0.Final",
"org.apache.commons" % "commons-lang3" % "3.4"
),
scalaVersion := "2.11.8",
name := "playjpa",
version := "1.0.3",
organization := "com.fliptoo",
autoScalaLibrary := false,
crossPaths := false
)
lazy val plugin = project
.in(file("sbt"))
.dependsOn(core)
.settings(
name := "sbt-playjpa",
version := "1.0.3",
organization := "com.fliptoo",
sbtPlugin := true,
autoScalaLibrary := false,
crossPaths := false
)