-
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 e7be497
Showing
2 changed files
with
6 additions
and
13 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 |
---|---|---|
|
@@ -6,7 +6,8 @@ object Settings { | |
implicit final class ProjectSettings(project: sbt.Project) { | ||
|
||
def publishSettings: sbt.Project = { | ||
import com.jsuereth.sbtpgp.PgpKeys.* | ||
import xerial.sbt.Sonatype | ||
import xerial.sbt.Sonatype.autoImport.* | ||
|
||
project.settings( | ||
inThisBuild( | ||
|
@@ -23,16 +24,9 @@ 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), | ||
pgpPublicRing := file("/tmp/public.asc"), | ||
pgpSecretRing := file("/tmp/secret.asc"), | ||
resolvers += | ||
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots" | ||
) | ||
) | ||
) | ||
) | ||
|