-
Notifications
You must be signed in to change notification settings - Fork 27
Build for Scala 2.11.7, 2.12.0-M1, 2.12.0-M2 and 2.12.0-M3 #43
Conversation
To be tagged as release 1.0.11.
f480422
to
10f9080
Compare
else | ||
sys.error(s"don't know what Scala versions to build on $java") | ||
} | ||
|
||
scalaXmlVersion := "1.0.4" | ||
scalaXmlVersion := { | ||
if(scalaVersion.value == "2.12.0-M3") "1.0.5" else "1.0.4" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
won't this break as soon as we do M4? how about if(scalaVersion.value == "2.12.0-M2") "1.0.4" else "1.0.5"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we do M4 (and it's not binary compatible), we need to update scala-partest anyway (and scala-xml may well be an even newer version then), so I don't think it really makes a difference which way you write that check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, the way it is at the moment is easier. We need 1.0.5 for 2.12.0-M3 and 1.0.4 for 2.12.0-M2, 2.12.0-M1 and 2.11.
Do not release / tag this yet. Another bugfix is coming. |
It used to be searched in ./build but that doesn’t work for the sbt build, where it is actually under ./build-sbt. The correct path is already on the partest classpath, so we can simply pull it from there with `findArtifact` instead of using `findJar`. Some other obsolete uses of `findJar` along with `buildPackLibDir` are also removed.
Added the bugfix. From my POV this is ready to be released so I can use it from the Scala build. |
LGTM |
Build for Scala 2.11.7, 2.12.0-M1, 2.12.0-M2 and 2.12.0-M3
Build for Scala 2.11.7, 2.12.0-M1, 2.12.0-M2 and 2.12.0-M3
Build for Scala 2.11.7, 2.12.0-M1, 2.12.0-M2 and 2.12.0-M3
To be tagged as release 1.0.11.