forked from criteo/vizsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
62 lines (56 loc) · 1.93 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
name := "vizsql"
scalaVersion in ThisBuild := "2.11.8"
lazy val root = project.in(file("."))
.enablePlugins(ScalaJSPlugin)
.aggregate(vizsqlJS, vizsqlJVM)
.settings()
lazy val vizsql = crossProject.in(file("."))
.settings(
libraryDependencies += "org.scalactic" %%% "scalactic" % "3.0.0",
libraryDependencies += "org.scalatest" %%% "scalatest" % "3.0.0" % "test"
)
.jvmSettings(
organization := "com.criteo",
version := "1.0.0",
libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
"criteo-oss",
sys.env.getOrElse("SONATYPE_PASSWORD", "")
)
)
.jsSettings(
libraryDependencies += "org.scala-js" %%% "scala-parser-combinators" % "1.0.2",
scalaJSModuleKind := ModuleKind.CommonJSModule
)
lazy val vizsqlJVM = vizsql.jvm
lazy val vizsqlJS = vizsql.js
// To sync with Maven central, you need to supply the following information:
pomExtra in Global := {
<url>https://github.com/criteo/vizsql</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:github.com/criteo/vizsql.git</connection>
<developerConnection>scm:git:[email protected]:criteo/vizsql.git</developerConnection>
<url>github.com/criteo/vizsql</url>
</scm>
<developers>
<developer>
<name>Guillaume Bort</name>
<email>[email protected]</email>
<url>https://github.com/guillaumebort</url>
<organization>Criteo</organization>
<organizationUrl>http://www.criteo.com</organizationUrl>
</developer>
</developers>
}
pgpPassphrase := sys.env.get("SONATYPE_PASSWORD").map(_.toArray)
pgpSecretRing := file(".travis/secring.gpg")
pgpPublicRing := file(".travis/pubring.gpg")
usePgpKeyHex("755d525885532e9e")