Skip to content

Commit 293e339

Browse files
authored
Remove version property in build.sbt
1 parent f7af498 commit 293e339

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

build.sbt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,6 @@ val currentScalaVersion = "2.13.16"
77
inThisBuild(
88
Seq(
99
scalaVersion := currentScalaVersion,
10-
// Load version from the file so that Gradle/Shipkit and SBT use the same version
11-
version := sys.env
12-
.get("PROJECT_VERSION")
13-
.filter(_.trim.nonEmpty)
14-
.orElse {
15-
lazy val VersionRE = """^version=(.+)$""".r
16-
Using.file(Source.fromFile)(baseDirectory.value / "version.properties") {
17-
_.getLines.collectFirst { case VersionRE(v) => v }
18-
}
19-
}
20-
.map(_.replace(".*", "-SNAPSHOT"))
21-
.get
22-
)
2310
)
2411

2512
lazy val commonSettings =

0 commit comments

Comments
 (0)