-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.sbt
33 lines (21 loc) · 939 Bytes
/
publish.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
enablePlugins(SignedAetherPlugin)
disablePlugins(AetherPlugin)
overridePublishSignedSettings
// do not include all repositories in the POM
// (this is important for staging since artifacts published to a staging repository
// can be promoted (i.e. published) to another repository)
pomAllRepositories := false
// make sure no repositories show up in the POM file
pomIncludeRepository := { _ => false }
// include *.zip artifacts in the POM dependency section
makePomConfiguration :=
makePomConfiguration.value.copy(includeTypes = Set(Artifact.DefaultType, Artifact.PomType, "zip"))
// publish Maven POM metadata (instead of Ivy);
// this is important for the UpdatesPlugin's ability to find available updates.
publishMavenStyle := true
PgpKeys.useGpg := true
PgpKeys.useGpgAgent := true
pgpSecretRing := file("local.secring.gpg")
pgpPublicRing := file("local.pubring.gpg")
git.baseVersion := Settings.version
versionWithGit