We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7af498 commit 293e339Copy full SHA for 293e339
build.sbt
@@ -7,19 +7,6 @@ val currentScalaVersion = "2.13.16"
7
inThisBuild(
8
Seq(
9
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
- )
23
)
24
25
lazy val commonSettings =
0 commit comments