-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
30 lines (23 loc) · 940 Bytes
/
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
name := "sbt-cached-updates"
description := """An sbt plugin which caches all the sbt update tasks."""
organization := "nz.co.bottech"
organizationName := "BotTech"
homepage := Some(url("https://github.com/BotTech/sbt-cached-updates"))
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
scalaVersion := "2.12.6"
sbtPlugin := true
enablePlugins(ScriptedPlugin)
scriptedLaunchOpts ++= Seq(
"-Xmx1024M",
"-Dplugin.version=" + version.value
)
publishMavenStyle := false
useGpg := true
pgpSecretRing := file("./travis/secring.bin")
usePgpKeyHex("D8534E92BA220A48D672800D9FF86654B58E9A01")
pgpPassphrase := sys.env.get("PGP_PASS").map(_.toArray)
publish / packagedArtifacts := PgpKeys.signedArtifacts.value
bintrayOrganization := Some("bottech")
bintrayPackageLabels := Seq("sbt", "plugin")
ghreleaseRepoOrg := organizationName.value
ghreleaseAssets := (publish / packagedArtifacts).value.values.toSeq