Skip to content

Commit e01b1e6

Browse files
author
Richard Peters
committed
Updated build.sbt and plugins.sbt, removed sonatype.sbt
1 parent 7842d97 commit e01b1e6

File tree

3 files changed

+49
-49
lines changed

3 files changed

+49
-49
lines changed

build.sbt

Lines changed: 48 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,56 @@
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
34

45
lazy val global = {
56
Seq(
67
version := "1.0.0",
78
scalaVersion := "2.12.8",
89
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+
)
1054
)
1155
}
1256

@@ -161,7 +205,7 @@ lazy val `keycloak4s-akka-http` = (project in file("./keycloak4s-auth/akka-http"
161205
lazy val playgroundDependencies: Seq[ModuleID] = scalaTest ++ sttpAkkaMonix ++ akkaTestKit
162206

163207
lazy val `keycloak4s-playground` = (project in file("./keycloak4s-playground"))
164-
.settings(global: _*)
208+
.settings(scalaVersion := "2.12.8")
165209
.settings(libraryDependencies ++= playgroundDependencies)
166210
.settings(coverageEnabled := false)
167211
.settings(name := "keycloak4s-playground", publishArtifact := false)

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ logLevel := Level.Warn
22

33
addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.3.4")
44
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
5-
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.4")
5+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.5")
66
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")

sonatype.sbt

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)