-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
26 lines (25 loc) · 1.57 KB
/
Copy pathbuild.sbt
File metadata and controls
26 lines (25 loc) · 1.57 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
import scala.sys.process._
lazy val `kt-movie-api` = (project in file("."))
.enablePlugins(BuildInfoPlugin)
.settings(
name := "kt-movie-api",
scalaVersion := Version.scala,
//==================================================================================================================
// BuildInfo
//==================================================================================================================
buildInfoKeys ++= Seq[BuildInfoKey](
"gitBranch" -> "git rev-parse --abbrev-ref HEAD".!!.trim,
"buildDate" -> java.time.LocalDateTime.now),
//==================================================================================================================
// Compiler
//==================================================================================================================
scalacOptions ++= Seq("-feature", "-language:higherKinds"),
Test / scalacOptions ++= Seq("-Yrangepos"),
//==================================================================================================================
// Dependencies
//==================================================================================================================
libraryDependencies ++= Dependencies.ktMovieApi,
//==================================================================================================================
// Test
//==================================================================================================================
Test / parallelExecution := true)