forked from ClemsonRSRG/RESOLVEWebAPI
-
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.48 KB
/
Copy pathbuild.sbt
File metadata and controls
55 lines (44 loc) · 1.48 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
54
55
name := "RESOLVEWebAPI"
version := "1.0"
scalaVersion := "2.13.2"
// Scala compiler options
scalacOptions ++= Seq(
"-feature", // Shows warnings in detail in the stdout
"-language:reflectiveCalls"
)
// Javac compiler options
javacOptions ++= Seq(
"-Xlint:unchecked",
"-Xlint:deprecation",
"-Xdiags:verbose"
)
// Managed Dependencies
libraryDependencies ++= Seq(
guice,
"com.atlassian.commonmark" % "commonmark" % "0.15.1",
"com.google.code.findbugs" % "jsr305" % "1.3.9",
"com.typesafe.play" % "play-ahc-ws-standalone_2.13" % "2.1.2",
"com.typesafe.play" % "play-json_2.13" % "2.9.0",
"com.typesafe.play" % "play-ws-standalone-json_2.13" % "2.1.2",
"org.antlr" % "antlr4" % "4.8-1"
)
// Unmanaged Dependencies
unmanagedBase := baseDirectory.value / "custom_lib"
// Use Injection
routesGenerator := InjectedRoutesGenerator
// License Headers
headerMappings := headerMappings.value + (HeaderFileType.java -> HeaderCommentStyle.cStyleBlockComment)
headerLicense := Some(HeaderLicense.Custom(
"""|---------------------------------
|Copyright (c) 2020
|RESOLVE Software Research Group
|School of Computing
|Clemson University
|All rights reserved.
|---------------------------------
|This file is subject to the terms and conditions defined in
|file 'LICENSE.txt', which is part of this source code package.""".stripMargin
))
headerEmptyLine := false
lazy val main = (project in file("."))
.enablePlugins(PlayJava, AutomateHeaderPlugin)