-
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.
* Add publishing settings * Add last LTS * Reconfigure triggers
- Loading branch information
1 parent
de1026d
commit a9f7c5a
Showing
4 changed files
with
65 additions
and
0 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
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 |
---|---|---|
|
@@ -5,6 +5,39 @@ object Settings { | |
|
||
implicit final class ProjectSettings(project: sbt.Project) { | ||
|
||
def publishSettings: sbt.Project = { | ||
import com.jsuereth.sbtpgp.PgpKeys.* | ||
|
||
project.settings( | ||
inThisBuild( | ||
List( | ||
organization := "cloud.golem", | ||
homepage := Some( | ||
url("https://github.com/golemcloud/sbt-wasm-component") | ||
), | ||
licenses := List( | ||
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0") | ||
), | ||
developers := List( | ||
Developer( | ||
"danieletorelli", | ||
"Daniele Torelli", | ||
"[email protected]", | ||
url("https://mdtorelli.it") | ||
) | ||
), | ||
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" | ||
) | ||
) | ||
) | ||
} | ||
|
||
def macroParadiseSettings: sbt.Project = | ||
project.settings( | ||
scalacOptions ++= { | ||
|
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12") |