mirror of https://github.com/sbt/sbt.git
fix default Scala version in launcher to be 2.7.5
git-svn-id: https://simple-build-tool.googlecode.com/svn/trunk@1063 d89573ee-9141-11dd-94d4-bdf5e562f29c
This commit is contained in:
parent
9f7a9b33f6
commit
266e16fafe
|
|
@ -128,7 +128,7 @@ protected/* removes the ambiguity as to which project is the entry point by maki
|
|||
override def mainSourceRoots = super.mainSourceRoots +++ managedSrc
|
||||
override def compileAction = super.compileAction dependsOn(versionProperties)
|
||||
override def cleanAction = cleanTask(outputPath +++ managedSrc, cleanOptions)
|
||||
lazy val versionProperties = task { writeVersionProperties(projectVersion.value.toString, scalaVersion.value.toString) }
|
||||
lazy val versionProperties = task { writeVersionProperties(projectVersion.value.toString, "2.7.5") }//scalaVersion.value.toString) }
|
||||
def writeVersionProperties(sbtVersion: String, scalaVersion: String) =
|
||||
FileUtilities.write(defaultVersionPath.asFile, defaultVersions(sbtVersion, scalaVersion), log)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue