@@ -8,7 +8,6 @@ val scala2 = List(scala2_12, scala2_13)
8
8
val scala2And3 = List (scala2_12, scala2_13, scala3)
9
9
10
10
lazy val commonSettings = commonSmlBuildSettings ++ ossPublishSettings ++ Seq (
11
- organization := " com.softwaremill.akka-http-session" ,
12
11
versionScheme := Some (" early-semver" )
13
12
)
14
13
@@ -21,12 +20,19 @@ val akkaStreamsTestkit = "com.typesafe.akka" %% "akka-stream-testkit" % akkaStre
21
20
val scalaTest = " org.scalatest" %% " scalatest" % " 3.2.16" % " test"
22
21
23
22
lazy val rootProject = (project in file(" ." ))
23
+ .settings(akkaCommonSettings : _* )
24
24
.settings(publish / skip := true , name := " akka-http-session-root" , scalaVersion := scala2_13)
25
25
.aggregate(core.projectRefs ++ jwt.projectRefs ++ example.projectRefs ++ javaTests.projectRefs ++
26
26
pekkoCore.projectRefs ++ pekkoJwt.projectRefs ++ pekkoExample.projectRefs ++ pekkoJavaTests.projectRefs: _* )
27
27
28
+ //
29
+
30
+ lazy val akkaCommonSettings = commonSettings ++ Seq (
31
+ organization := " com.softwaremill.akka-http-session"
32
+ )
33
+
28
34
lazy val core = (projectMatrix in file(" core" ))
29
- .settings(commonSettings : _* )
35
+ .settings(akkaCommonSettings : _* )
30
36
.settings(
31
37
name := " core" ,
32
38
libraryDependencies ++= Seq (
@@ -41,7 +47,7 @@ lazy val core = (projectMatrix in file("core"))
41
47
.jvmPlatform(scalaVersions = scala2)
42
48
43
49
lazy val jwt = (projectMatrix in file(" jwt" ))
44
- .settings(commonSettings : _* )
50
+ .settings(akkaCommonSettings : _* )
45
51
.settings(
46
52
name := " jwt" ,
47
53
libraryDependencies ++= Seq (
@@ -58,7 +64,7 @@ lazy val jwt = (projectMatrix in file("jwt"))
58
64
.dependsOn(core)
59
65
60
66
lazy val example = (projectMatrix in file(" example" ))
61
- .settings(commonSettings : _* )
67
+ .settings(akkaCommonSettings : _* )
62
68
.settings(
63
69
publishArtifact := false ,
64
70
libraryDependencies ++= Seq (
@@ -72,7 +78,7 @@ lazy val example = (projectMatrix in file("example"))
72
78
.dependsOn(core, jwt)
73
79
74
80
lazy val javaTests = (projectMatrix in file(" javaTests" ))
75
- .settings(commonSettings : _* )
81
+ .settings(akkaCommonSettings : _* )
76
82
.settings(
77
83
name := " javaTests" ,
78
84
Test / testOptions := Seq (Tests .Argument (TestFrameworks .JUnit , " -a" )), // required for javadsl JUnit tests
@@ -93,9 +99,8 @@ lazy val javaTests = (projectMatrix in file("javaTests"))
93
99
94
100
// Pekko build
95
101
96
- lazy val pekkoCommonSettings = commonSmlBuildSettings ++ ossPublishSettings ++ Seq (
97
- organization := " com.softwaremill.pekko-http-session" ,
98
- versionScheme := Some (" early-semver" )
102
+ lazy val pekkoCommonSettings = commonSettings ++ Seq (
103
+ organization := " com.softwaremill.pekko-http-session"
99
104
)
100
105
101
106
val pekkoHttpVersion = " 1.0.0"
0 commit comments