-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.sbt
More file actions
53 lines (44 loc) · 1.67 KB
/
build.sbt
File metadata and controls
53 lines (44 loc) · 1.67 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
import sbt.Keys._
import sbt._
lazy val root = (project in file(".")).
settings(
organization := "org.backuity",
name := "ansi-interpolator",
scalaVersion := "2.13.0-RC3",
crossScalaVersions := Seq("2.12.8", "2.13.0-RC3"),
version := "1.1.1-SNAPSHOT",
scalacOptions ++= Seq("-deprecation", "-unchecked"),
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
// Tests
"org.backuity" %% "matchete-junit" % "1.29.1" % "test",
"com.chuusai" %% "shapeless" % "2.3.3" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test"),
// Sonatype OSS deployment
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
publishMavenStyle := true,
publishArtifact in Test := false,
useGpg := true,
publish := PgpKeys.publishSigned.value,
pomIncludeRepository := { _ => false},
homepage := Some(url("https://github.com/backuity/ansi-interpolator")),
licenses := ("Apache2", new java.net.URL("http://www.apache.org/licenses/LICENSE-2.0.txt")) :: Nil,
pomExtra :=
<scm>
<url>git@github.com:backuity/ansi-interpolator.git</url>
<connection>scm:git:git@github.com:backuity/ansi-interpolator.git</connection>
</scm>
<developers>
<developer>
<id>backuitist</id>
<name>Bruno Bieth</name>
<url>https://github.com/backuitist</url>
</developer>
</developers>
)