Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object Build {
val dottyOrganization = "ch.epfl.lamp"
val dottyGithubUrl = "https://github.com/lampepfl/dotty"
val dottyVersion = {
val baseVersion = "0.4.0"
val baseVersion = "0.5.0"
val isNightly = sys.env.get("NIGHTLYBUILD") == Some("yes")
val isRelease = sys.env.get("RELEASEBUILD") == Some("yes")
if (isNightly)
Expand Down Expand Up @@ -854,7 +854,7 @@ object Build {


sbtPlugin := true,
version := "0.1.6-SNAPSHOT",
version := "0.1.6",
ScriptedPlugin.scriptedSettings,
ScriptedPlugin.sbtTestDirectory := baseDirectory.value / "sbt-test",
ScriptedPlugin.scriptedLaunchOpts += "-Dplugin.version=" + version.value,
Expand Down
4 changes: 2 additions & 2 deletions sbt-dotty/src/dotty/tools/sbtplugin/DottyPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ object DottyPlugin extends AutoPlugin {
// - if this was a settingKey, then this would evaluate even if you don't use it.
def dottyLatestNightlyBuild: Option[String] = {
println("Fetching latest Dotty nightly version (requires an internet connection)...")
val Version = """ <version>(0.4\..*-bin.*)</version>""".r
val Version = """ <version>(0.5\..*-bin.*)</version>""".r
val latest = scala.io.Source
.fromURL(
"http://repo1.maven.org/maven2/ch/epfl/lamp/dotty_0.4/maven-metadata.xml")
"http://repo1.maven.org/maven2/ch/epfl/lamp/dotty_0.5/maven-metadata.xml")
.getLines()
.collect { case Version(version) => version }
.toSeq
Expand Down