-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
55 lines (44 loc) · 1.63 KB
/
build.sbt
File metadata and controls
55 lines (44 loc) · 1.63 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import org.beangle.parent.Dependencies.*
import org.beangle.parent.Settings.*
import sbt.Keys.*
ThisBuild / organization := "org.beangle.data"
ThisBuild / version := "5.12.2"
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/beangle/data"),
"scm:git@github.com:beangle/data.git"
)
)
ThisBuild / developers := List(
Developer(
id = "chaostone",
name = "Tihua Duan",
email = "duantihua@gmail.com",
url = url("http://github.com/duantihua")
)
)
ThisBuild / description := "The Beangle Data Library"
ThisBuild / homepage := Some(url("https://beangle.github.io/data/index.html"))
val beangle_commons = "org.beangle.commons" % "beangle-commons" % "6.1.0"
val beangle_jdbc = "org.beangle.jdbc" % "beangle-jdbc" % "1.1.8"
lazy val root = (project in file("."))
.settings(common)
.aggregate(model, hibernate)
lazy val model = (project in file("model"))
.settings(
name := "beangle-data-model",
common,
libraryDependencies ++= Seq(beangle_commons, beangle_jdbc, jpa, byte_buddy, slf4j),
libraryDependencies ++= Seq(logback_classic % "test", logback_core % "test", scalatest),
Test / parallelExecution := false
)
lazy val hibernate = (project in file("hibernate"))
.settings(
name := "beangle-data-hibernate",
common,
libraryDependencies ++= Seq(hibernate_core, hibernate_jcache, spring_tx, spring_aop),
libraryDependencies ++= Seq(logback_classic % "test", logback_core % "test", scalatest, ehcache % "test"),
libraryDependencies ++= Seq(h2 % "test", HikariCP % "test", postgresql % "test"),
Test / parallelExecution := false
).dependsOn(model)
publish / skip := true