-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6212b0b
commit 8778642
Showing
2 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,8 @@ object Settings { | |
|
||
def publishSettings: sbt.Project = { | ||
import com.jsuereth.sbtpgp.PgpKeys.* | ||
import xerial.sbt.Sonatype | ||
import xerial.sbt.Sonatype.autoImport.* | ||
|
||
project.settings( | ||
inThisBuild( | ||
|
@@ -23,16 +25,13 @@ object Settings { | |
"danieletorelli", | ||
"Daniele Torelli", | ||
"[email protected]", | ||
url("https://mdtorelli.it") | ||
url("https://github.com/danieletorelli") | ||
) | ||
), | ||
resolvers += | ||
"Sonatype OSS Snapshots 01" at "https://s01.oss.sonatype.org/content/repositories/snapshots", | ||
pgpPassphrase := sys.env.get("PGP_PASSWORD").map(_.toArray), | ||
pgpPassphrase := sys.env.get("PGP_PASSPHRASE").map(_.toArray), | ||
pgpPublicRing := file("/tmp/public.asc"), | ||
pgpSecretRing := file("/tmp/secret.asc"), | ||
resolvers += | ||
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots" | ||
sonatypeCredentialHost := Sonatype.sonatype01 | ||
) | ||
) | ||
) | ||
|