|
1 | | -name := "project-keycloak4s" |
2 | | -organization := "com.fullfacing" |
| 1 | +import sbt.Keys.{credentials, publishMavenStyle} |
| 2 | +import sbt.{Credentials, url} |
| 3 | +import xerial.sbt.Sonatype.GitHubHosting |
3 | 4 |
|
4 | 5 | lazy val global = { |
5 | 6 | Seq( |
6 | 7 | version := "1.0.0", |
7 | 8 | scalaVersion := "2.12.8", |
8 | 9 | organization := "com.fullfacing", |
9 | | - scalacOptions ++= scalacOpts |
| 10 | + scalacOptions ++= scalacOpts, |
| 11 | + |
| 12 | + // Your profile name of the sonatype account. The default is the same with the organization value |
| 13 | + sonatypeProfileName := "com.fullfacing", |
| 14 | + |
| 15 | + // Sonatype Nexus Credentials |
| 16 | + credentials += Credentials(Path.userHome / ".sbt" / "1.0" / ".credentials"), |
| 17 | + |
| 18 | + // To sync with Maven central, you need to supply the following information: |
| 19 | + publishMavenStyle := true, |
| 20 | + |
| 21 | + // MIT Licence |
| 22 | + licenses := Seq("MIT" -> url("http://opensource.org/licenses/MIT")), |
| 23 | + |
| 24 | + // Github Project Information |
| 25 | + sonatypeProjectHosting := Some(GitHubHosting("fullfacing", "keycloak4s", "curious@fullfacing.com")), |
| 26 | + |
| 27 | + // Developer Contact Information |
| 28 | + developers := List( |
| 29 | + Developer( |
| 30 | + id = "Executioner1939", |
| 31 | + name = "Richard Peters", |
| 32 | + email = "rpeters@fullfacing.com", |
| 33 | + url = url("https://www.fullfacing.com/") |
| 34 | + ), |
| 35 | + Developer( |
| 36 | + id = "lmuller90", |
| 37 | + name = "Louis Muller", |
| 38 | + email = "lmuller@fullfacing.com", |
| 39 | + url = url("https://www.fullfacing.com/") |
| 40 | + ), |
| 41 | + Developer( |
| 42 | + id = "StuartJ45", |
| 43 | + name = "Stuart Jameson", |
| 44 | + email = "sjameson@fullfacing.com", |
| 45 | + url = url("https://www.fullfacing.com/") |
| 46 | + ), |
| 47 | + Developer( |
| 48 | + id = "neil-fladderak", |
| 49 | + name = "Neil Fladderak", |
| 50 | + email = "neil@fullfacing.com", |
| 51 | + url = url("https://www.fullfacing.com/") |
| 52 | + ) |
| 53 | + ) |
10 | 54 | ) |
11 | 55 | } |
12 | 56 |
|
@@ -161,7 +205,7 @@ lazy val `keycloak4s-akka-http` = (project in file("./keycloak4s-auth/akka-http" |
161 | 205 | lazy val playgroundDependencies: Seq[ModuleID] = scalaTest ++ sttpAkkaMonix ++ akkaTestKit |
162 | 206 |
|
163 | 207 | lazy val `keycloak4s-playground` = (project in file("./keycloak4s-playground")) |
164 | | - .settings(global: _*) |
| 208 | + .settings(scalaVersion := "2.12.8") |
165 | 209 | .settings(libraryDependencies ++= playgroundDependencies) |
166 | 210 | .settings(coverageEnabled := false) |
167 | 211 | .settings(name := "keycloak4s-playground", publishArtifact := false) |
|
0 commit comments