1
1
import sbtcrossproject .CrossPlugin .autoImport .{crossProject , CrossType }
2
2
3
+ ThisBuild / organization := " org.julienrf"
4
+
3
5
ThisBuild / scalaVersion := " 2.13.3"
4
6
5
7
ThisBuild / crossScalaVersions := Seq (scalaVersion.value, " 2.12.8" )
6
8
7
9
ThisBuild / versionPolicyIntention := Compatibility .None
8
10
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
+
9
29
val library =
10
30
crossProject(JSPlatform , JVMPlatform )
11
31
.crossType(CrossType .Pure )
12
32
.settings(
13
- organization := " org.julienrf" ,
14
33
name := " play-json-derived-codecs" ,
15
34
libraryDependencies ++= Seq (
16
35
" com.chuusai" %%% " shapeless" % " 2.3.3" ,
@@ -19,22 +38,6 @@ val library =
19
38
" org.scalatestplus" %%% " scalacheck-1-15" % " 3.2.3.0" % Test ,
20
39
" com.typesafe.play" %%% " play-json" % " 2.9.2"
21
40
),
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
- ),
38
41
scalacOptions ++= {
39
42
Seq (
40
43
" -deprecation" ,
0 commit comments