This repository has been archived by the owner on Nov 28, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sbt
126 lines (123 loc) · 4.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
val scala211Version="2.11.7"
val scala210Version="2.10.5"
lazy val root = project.in(file(".")).
aggregate(json4sASTJS, json4sASTJVM).
settings(
publish := {},
publishLocal := {}
)
lazy val json4sAST = crossProject.in(file(".")).
settings(
name := "json4s-ast",
version := "4.0.0-M1",
scalaVersion := scala211Version,
organization := "org.json4s",
crossScalaVersions := Seq(scala211Version,scala210Version),
startYear := Some(2013),
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
publishArtifact in Test := false,
pomIncludeRepository := { _ => false },
pomExtra := <url>https://github.com/json4s/json4s-ast</url>
<licenses>
<license>
<name>Apache</name>
<url>http://opensource.org/licenses/Apache-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:json4s/json4s-ast.git</url>
<connection>scm:git:git@github.com:json4s/json4s-ast.git</connection>
</scm>
<developers>
<developer>
<name>Ivan Porto Carrero</name>
<email>ivan@flanders.co.nz</email>
<url>http://flanders.co.nz</url>
</developer>
<developer>
<name>Ross A. Baker</name>
<email>ross@rossabaker.com</email>
<url>http://www.rossabaker.com/</url>
</developer>
<developer>
<name>Matthew de Detrich</name>
<email>mdedetrich@gmail.com</email>
<url>http://mdedetrich.github.io</url>
</developer>
</developers>
<contributors>
<contributor>
<name>Bryce Anderson</name>
<email>bryce.anderson22@gmail.com</email>
<url>http://bryceanderson.net</url>
</contributor>
<contributor>
<name>Eugene Yokota</name>
<email>eed3si9n@gmail.com</email>
<url>http://eed3si9n.com/</url>
</contributor>
<contributor>
<name>Matt Farmer</name>
<url>http://farmdawgnation.com/</url>
</contributor>
<contributor>
<name>James Roper</name>
<email>james@jazzy.id.au</email>
<url>https://jazzy.id.au/</url>
</contributor>
<contributor>
<name>Johannes Rudolph</name>
<email>johannes.rudolph@gmail.com</email>
<url>http://virtual-void.net</url>
</contributor>
<contributor>
<name>Erik Osheim</name>
</contributor>
<contributor>
<name>Jon Pretty</name>
<url>http://rapture.io/</url>
</contributor>
<contributor>
<name>Kazuhiro Sera</name>
<email>seratch@gmail.com</email>
<url>http://seratch.net//</url>
</contributor>
<contributor>
<name>Mathias</name>
<url>http://www.decodified.com</url>
</contributor>
</contributors>
).
jvmSettings(
// Add JVM-specific settings here
scalacOptions ++= Seq("-unchecked", "-deprecation", "-optimize", "-feature", "-Yinline-warnings"),
javacOptions ++= Seq("-deprecation", "-Xlint"),
testFrameworks += new TestFramework("org.scalameter.ScalaMeterFramework"),
testFrameworks += new TestFramework("utest.runner.Framework"),
libraryDependencies ++= Seq(
"com.storm-enroute" %% "scalameter" % "0.7" % Test,
"org.specs2" %% "specs2-core" % "3.6.5" % Test,
"org.specs2" %% "specs2-scalacheck" % "3.6.5" % Test,
"org.scalacheck" %% "scalacheck" % "1.12.5" % Test
),
parallelExecution in Test := false
).
jsSettings(
// Add JS-specific settings here
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-Yinline-warnings"),
testFrameworks += new TestFramework("utest.runner.Framework"),
testFrameworks += new TestFramework("org.scalacheck.ScalaCheckFramework"),
libraryDependencies ++= Seq(
"org.scalacheck" %%% "scalacheck" % "1.12.5" % Test
)
)
lazy val json4sASTJVM = json4sAST.jvm
lazy val json4sASTJS = json4sAST.js