File tree Expand file tree Collapse file tree 4 files changed +11
-3
lines changed
ScalatronCLI/src/scalatronRemote Expand file tree Collapse file tree 4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ package scalatron
5
5
6
6
object Version
7
7
{
8
- val VersionString = " 0.9.9.1 "
8
+ val VersionString = Version .getClass.getPackage.getImplementationVersion
9
9
}
Original file line number Diff line number Diff line change 4
4
package scalatronRemote
5
5
6
6
object Version {
7
- val VersionString = " 0.9.9.1 " // version of this tool (not of remote server :-)
7
+ val VersionString = Version .getClass.getPackage.getImplementationVersion // version of this tool (not of remote server :-)
8
8
}
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ organization := "Scalatron"
2
2
3
3
name := " Scalatron"
4
4
5
- version := " 0.9.9.1"
5
+ version in Global := " 0.9.9.1"
6
6
7
7
scalaVersion := " 2.9.1"
Original file line number Diff line number Diff line change @@ -7,6 +7,14 @@ import AssemblyKeys._
7
7
object build extends Build {
8
8
def standardSettings = Defaults .defaultSettings ++ src ++ assemblySettings ++ Seq (
9
9
mergeStrategy in assembly := {_ => MergeStrategy .first}
10
+ ) ++ implVersion
11
+
12
+ lazy val implVersion = Seq (
13
+ packageOptions <<= (version) map {
14
+ scalatronVersion => Seq (Package .ManifestAttributes (
15
+ (" Implementation-Version" , scalatronVersion)
16
+ ))
17
+ }
10
18
)
11
19
12
20
lazy val all = Project (
You can’t perform that action at this time.
0 commit comments