-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (34 loc) · 1.22 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
/*
* =================================== settings ===================================
*/
lazy val settings = Seq(
name := "hidden-args",
organization := "com.github.keddelzz.hidden-args",
version := "0.0.2-SNAPSHOT",
scalaVersion := "2.12.1",
crossScalaVersions := Seq("2.12.1", "2.11.8"),
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
resolvers += Resolver.sonatypeRepo("releases"),
addCompilerPlugin("org.scalamacros" %% "paradise" % "2.1.0" cross CrossVersion.full),
bintrayReleaseOnPublish in ThisBuild := false,
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scalatest" %% "scalatest" % "3.0.0" % "test",
"com.chuusai" %% "shapeless" % "2.3.2" % "test"
)
)
/*
* ==================================== tasks =====================================
*/
addCommandAlias("testAll", ";test;examples/test")
/*
* =================================== projects ===================================
*/
lazy val hiddenargs = (project in file("."))
.settings(settings :_*)
lazy val examples = (project in file("examples"))
.settings(settings :_*)
.settings(
name := "hidden-args-examples"
)
.dependsOn(hiddenargs)