-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
44 lines (40 loc) · 1.52 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
import sbt.url
lazy val root = (project in file("."))
.settings(
sbtPlugin := true,
name := "sbt-molecule",
description := "sbt plugin to generate and package Molecule boilerplate code",
version := "1.9.1",
organization := "org.scalamolecule",
libraryDependencies ++= Seq(
"org.scalameta" %% "scalameta" % "4.9.0",
"org.scalamolecule" %% "molecule-base" % "0.10.1",
"com.lihaoyi" %% "utest" % "0.8.3" % Test
),
testFrameworks += new TestFramework("utest.runner.Framework"),
)
.settings(publishSettings)
lazy val snapshots = "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/"
lazy val releases = "Sonatype OSS Staging" at "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
lazy val publishSettings: Seq[Def.Setting[_]] = Seq(
publishMavenStyle := true,
versionScheme := Some("early-semver"),
publishTo := (if (isSnapshot.value) Some(snapshots) else Some(releases)),
// Test / publishArtifact := false,
pomIncludeRepository := (_ => false),
homepage := Some(url("http://scalamolecule.org")),
description := "sbt-molecule",
licenses := Seq("Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
scmInfo := Some(ScmInfo(
url("https://github.com/scalamolecule/sbt-molecule"),
"scm:git:git@github.com:scalamolecule/sbt-molecule.git"
)),
developers := List(
Developer(
id = "marcgrue",
name = "Marc Grue",
email = "marcgrue@gmail.com",
url = url("http://marcgrue.com")
)
)
)