-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
131 lines (127 loc) · 6.42 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
import sbt.Keys._
// Multi project build file. For val xxx = project, xxx is the name of the project and base dir
lazy val commonSettings = Seq(
organization := "org.sackfix",
version := "0.1.3",
scalaVersion := "2.13.5",
libraryDependencies += "org.sackfix" %% "sackfix-common" % "0.1.3",
libraryDependencies += "org.scalatest" %% "scalatest" % "3.2.6" % "test",
libraryDependencies += "org.mockito" % "mockito-all" % "1.10.19" % "test",
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3",
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3" % "runtime", // without %runtime did not work in intellij
libraryDependencies += "com.typesafe" % "config" % "1.4.1",
libraryDependencies += "com.typesafe.akka" %% "akka-actor" % "2.6.13",
libraryDependencies += "com.typesafe.akka" %% "akka-slf4j" % "2.6.13",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
pomIncludeRepository := { _ => false },
licenses := Seq("MIT License" -> url("http://www.opensource.org/licenses/mit-license.php")),
homepage := Some(url("http://www.sackfix.org/")),
developers := List(
Developer(id = "PendaRed",
name = "Jonathan Gibbons",
email = "Jonathan@sackfix.org",
url = url("http://www.sackfix.org"))
),
scmInfo := Some(
ScmInfo(
url("https://github.com/PendaRed/sackfixmessages.git"),
"scm:git@github.com:PendaRed/sackfixmessages.git"
)
),
publishMavenStyle := true,
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
},
publishArtifact in Test := false
)
lazy val sackfixmessages40 = (project in file("./sackfix-messages-fix40")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix40",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 4.0 strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages41 = (project in file("./sackfix-messages-fix41")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix41",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 4.1 strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages42 = (project in file("./sackfix-messages-fix42")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix42",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 4.2 strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages43 = (project in file("./sackfix-messages-fix43")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix43",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 4.3 strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages44 = (project in file("./sackfix-messages-fix44")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix44",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 4.4 strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages44modified = (project in file("./sackfix-messages-fix44modified")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix44modified",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 4.4modified strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages50 = (project in file("./sackfix-messages-fix50")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix50",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 5.0 strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessagesfixt11 = (project in file("./sackfix-messages-fixt11")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fixt11",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fixt1.1 strongly typed session messages, purely generated code, do not edit."
)
lazy val sackfixmessages50sp1 = (project in file("./sackfix-messages-fix50sp1")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix50sp1",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 5.0sp1 strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages50sp1modified = (project in file("./sackfix-messages-fix50sp1modified")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix50sp1modified",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 5.0sp1modified strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages50sp2 = (project in file("./sackfix-messages-fix50sp2")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix50sp2",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 5.0sp2 strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages50sp2modified = (project in file("./sackfix-messages-fix50sp2modified")).
settings(commonSettings: _*).
settings(
name := "sackfix-messages-fix50sp2modified",
// Configuring publish to Sonartype, http://www.scala-sbt.org/release/docs/Using-Sonatype.html
description :="All Fix 5.0sp2modified strongly typed messages, purely generated code, do not edit."
)
lazy val sackfixmessages = (project in file(".")).aggregate(sackfixmessages40, sackfixmessages41, sackfixmessages42,
sackfixmessages43, sackfixmessages44,sackfixmessages44modified, sackfixmessagesfixt11, sackfixmessages50, sackfixmessages50sp1,
sackfixmessages50sp1modified, sackfixmessages50sp2, sackfixmessages50sp2modified)