forked from psforever/PSForeverCI-testrepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
27 lines (24 loc) · 917 Bytes
/
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
lazy val commonSettings = Seq(
organization := "net.psforever",
version := "1.0.2-SNAPSHOT",
scalaVersion := "2.11.8",
scalacOptions := Seq("-unchecked", "-feature", "-deprecation", "-encoding", "utf8", "-language:postfixOps"),
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
libraryDependencies ++= Seq(
"org.ini4j" % "ini4j" % "0.5.4"
)
)
lazy val psloginPackSettings = packAutoSettings ++ Seq(
packArchivePrefix := "pslogin",
packExtraClasspath := Map("ps-login" -> Seq("${PROG_HOME}/config")),
packResourceDir += (baseDirectory.value / "config" -> "config")
)
lazy val root = (project in file(".")).
settings(commonSettings: _*).
settings(psloginPackSettings: _*).
aggregate(pslogin)
lazy val pslogin = (project in file("pslogin")).
settings(commonSettings: _*).
settings(
name := "pslogin"
)