Skip to content

Commit 98f6d10

Browse files
committed
ETCM-165: Control universal and jar names.
1 parent cd889f1 commit 98f6d10

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.sbt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ val nixBuild = sys.props.isDefinedAt("nix")
1010
val mantisDev = sys.props.get("mantisDev").contains("true") || sys.env.get("MANTIS_DEV").contains("true")
1111

1212
def commonSettings(projectName: String): Seq[sbt.Def.Setting[_]] = Seq(
13-
name := s"mantis-${projectName}",
13+
name := projectName,
14+
organization := "io.iohk",
1415
version := "3.1.0",
1516
scalaVersion := "2.12.12",
1617
// Scalanet snapshots are published to Sonatype after each build.
@@ -55,7 +56,7 @@ lazy val rlp = {
5556
val rlp = project
5657
.in(file("rlp"))
5758
.configs(Integration)
58-
.settings(commonSettings("rlp"))
59+
.settings(commonSettings("mantis-rlp"))
5960
.settings(
6061
libraryDependencies ++=
6162
Dependencies.akkaUtil ++
@@ -128,13 +129,12 @@ lazy val node = {
128129
buildInfoKeys := Seq[BuildInfoKey](name, version, git.gitHeadCommit),
129130
buildInfoPackage := "io.iohk.ethereum.utils"
130131
)
131-
.settings(commonSettings("node"): _*)
132+
.settings(commonSettings("mantis"): _*)
132133
.settings(
133134
libraryDependencies ++= dep
134135
)
135136
.settings(
136-
executableScriptName := "mantis",
137-
packageName in Universal := s"mantis-${version.value}"
137+
executableScriptName := name.value,
138138
)
139139
.settings(
140140
inConfig(Integration)(

0 commit comments

Comments
 (0)