-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
55 lines (46 loc) · 1.76 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
lazy val scalaXml = "org.scala-lang.modules" %% "scala-xml" % "2.2.0"
lazy val scalaParser = "org.scala-lang.modules" %% "scala-parser-combinators" % "2.3.0"
lazy val dispatchV = "0.13.4"
lazy val dispatch = "net.databinder.dispatch" %% "dispatch-core" % dispatchV
lazy val root = (project in file(".")).
// enablePlugins(ScalaxbPlugin).
settings(inThisBuild(List(
scalaVersion := "2.13.11"
))).
settings(
sonatypeProfileName := "net.sigmalab",
organization := "net.sigmalab",
name := "sportsml-scala",
libraryDependencies ++= Seq(dispatch),
libraryDependencies ++= {
if (scalaVersion.value startsWith "2.10") Seq()
else Seq(scalaXml, scalaParser)
}
).
settings(
pomExtra in Global := {
<url>https://github.com/schrepfler/sportsml-scala</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:github.com/schrepfler/sportsml-scala</connection>
<developerConnection>scm:git:[email protected]:schrepfler/sportsml-scala.git</developerConnection>
<url>github.com/schrepfler/sportsml-scala</url>
</scm>
<developers>
<developer>
<id>schrepfler</id>
<name>Srdan Srepfler</name>
<url>github.com/schrepfler</url>
</developer>
</developers>
}
// scalaxbDispatchVersion in (Compile, scalaxb) := dispatchV
// scalaxbPackageName in (Compile, scalaxb) := "org.iptc.sportsml.v3"
// scalaxbPackageNames in (Compile, scalaxb) := Map(uri("http://schemas.microsoft.com/2003/10/Serialization/") -> "microsoft.serialization"),
// logLevel in (Compile, scalaxb) := Level.Debug
)