Skip to content

Commit 03cacc8

Browse files
committed
Move some settings to ThisBuild
1 parent 5e51ece commit 03cacc8

File tree

1 file changed

+20
-17
lines changed

1 file changed

+20
-17
lines changed

build.sbt

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,35 @@
11
import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
22

3+
ThisBuild / organization := "org.julienrf"
4+
35
ThisBuild / scalaVersion := "2.13.3"
46

57
ThisBuild / crossScalaVersions := Seq(scalaVersion.value, "2.12.8")
68

79
ThisBuild / versionPolicyIntention := Compatibility.None
810

11+
ThisBuild / developers := List(
12+
Developer(
13+
"julienrf",
14+
"Julien Richard-Foy",
15+
"julien@richard-foy.fr",
16+
url("http://julien.richard-foy.fr")
17+
)
18+
)
19+
ThisBuild / homepage := Some(url(s"https://github.com/julienrf/play-json-derived-codecs"))
20+
ThisBuild / licenses := Seq("MIT License" -> url("http://opensource.org/licenses/mit-license.php"))
21+
ThisBuild / scmInfo := Some(
22+
ScmInfo(
23+
url(s"https://github.com/julienrf/play-json-derived-codecs"),
24+
s"scm:git:git@github.com:julienrf/play-json-derived-codecs.git"
25+
)
26+
)
27+
28+
929
val library =
1030
crossProject(JSPlatform, JVMPlatform)
1131
.crossType(CrossType.Pure)
1232
.settings(
13-
organization := "org.julienrf",
1433
name := "play-json-derived-codecs",
1534
libraryDependencies ++= Seq(
1635
"com.chuusai" %%% "shapeless" % "2.3.3",
@@ -19,22 +38,6 @@ val library =
1938
"org.scalatestplus" %%% "scalacheck-1-15" % "3.2.3.0" % Test,
2039
"com.typesafe.play" %%% "play-json" % "2.9.2"
2140
),
22-
developers := List(
23-
Developer(
24-
"julienrf",
25-
"Julien Richard-Foy",
26-
"julien@richard-foy.fr",
27-
url("http://julien.richard-foy.fr")
28-
)
29-
),
30-
homepage := Some(url(s"https://github.com/julienrf/${name.value}")),
31-
licenses := Seq("MIT License" -> url("http://opensource.org/licenses/mit-license.php")),
32-
scmInfo := Some(
33-
ScmInfo(
34-
url(s"https://github.com/julienrf/${name.value}"),
35-
s"scm:git:git@github.com:julienrf/${name.value}.git"
36-
)
37-
),
3841
scalacOptions ++= {
3942
Seq(
4043
"-deprecation",

0 commit comments

Comments
 (0)