-
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 d6014e1
Showing
3 changed files
with
25 additions
and
37 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 |
---|---|---|
@@ -1,7 +1,29 @@ | ||
import Settings.* | ||
|
||
ThisBuild / scalaVersion := Versions.scala2_12 | ||
ThisBuild / organization := "cloud.golem" | ||
inThisBuild( | ||
List( | ||
scalaVersion := Versions.scala2_12, | ||
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://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"), | ||
sonatypeCredentialHost := Sonatype.sonatype01 | ||
) | ||
) | ||
|
||
lazy val root = (project in file(".")) | ||
.settings( | ||
|
@@ -11,7 +33,6 @@ lazy val root = (project in file(".")) | |
.settings(scriptedLaunchOpts += s"-Dplugin.version=${version.value}") | ||
.enablePlugins(SbtPlugin) | ||
.enablePlugins(BuildInfoPlugin) | ||
.publishSettings | ||
.dependsOn(macros) | ||
.aggregate(macros) | ||
|
||
|
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,39 +5,6 @@ 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 ++= { | ||
|