forked from eclipsesource/play-json-schema-validator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
43 lines (36 loc) · 1.57 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
val Repositories = Seq(
"Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"Sonatype OSS Releases" at "https://oss.sonatype.org/content/repositories/releases",
"scalaz-bintray" at "http://dl.bintray.com/scalaz/releases"
)
val commonSettings = Seq(
organization := "com.eclipsesource",
scalaVersion := "2.13.0",
crossScalaVersions := Seq("2.12.8", "2.13.0"),
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
Keys.fork in Test := false,
Keys.parallelExecution in Test := false
)
val releaseSettings = Seq(
publishMavenStyle := true,
bintrayOrganization := None,
bintrayPackageLabels := Seq("json", "json-schema", "play", "scala"),
bintrayVcsUrl := Some("[email protected]:eclipsesource/play-json-schema-validator.git")
)
val buildSettings = Defaults.coreDefaultSettings ++ commonSettings
val testSettings = unmanagedJars in Test ++= Seq(
baseDirectory.value / "src/test/resources/simple-schema.jar",
baseDirectory.value / "src/test/resources/simple-schema-issue-65.jar",
baseDirectory.value / "src/test/resources/issue-65.jar"
)
lazy val schemaProject = Project("play-json-schema-validator", file("."))
.settings(buildSettings)
.settings(releaseSettings)
.settings(testSettings)
.settings(
resolvers ++= Repositories,
retrieveManaged := true,
libraryDependencies ++= Dependencies.core,
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework")
)