-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
46 lines (32 loc) · 1.53 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
import app.softnetwork.*
/////////////////////////////////
// Defaults
/////////////////////////////////
ThisBuild / organization := "app.softnetwork"
name := "generic-sequence-api"
ThisBuild / version := "0.4.0"
ThisBuild / scalaVersion := "2.12.15"
ThisBuild / scalacOptions ++= Seq("-deprecation", "-feature", "-target:jvm-1.8")
ThisBuild / javacOptions ++= Seq("-source", "1.8", "-target", "1.8", "-Xlint")
ThisBuild / resolvers ++= Seq(
"Softnetwork Server" at "https://softnetwork.jfrog.io/artifactory/releases/",
"Maven Central Server" at "https://repo1.maven.org/maven2",
"Typesafe Server" at "https://repo.typesafe.com/typesafe/releases"
)
ThisBuild / versionScheme := Some("early-semver")
val scalatest = Seq(
"org.scalatest" %% "scalatest" % Versions.scalatest % Test
)
ThisBuild / libraryDependencies ++= Seq(
"com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf",
"org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.1",
"app.softnetwork.api" %% "generic-server-api" % Versions.genericPersistence,
"app.softnetwork.api" %% "generic-server-api-testkit" % Versions.genericPersistence % Test,
"app.softnetwork.protobuf" %% "scalapb-extensions" % "0.1.7"
) ++ scalatest
Compile / unmanagedResourceDirectories += baseDirectory.value / "src/main/protobuf"
Test / parallelExecution := false
lazy val root = project.in(file("."))
.configs(IntegrationTest)
.settings(Defaults.itSettings, app.softnetwork.Info.infoSettings)
.enablePlugins(AkkaGrpcPlugin, BuildInfoPlugin)