added compile options
This commit is contained in:
parent
bc49036d40
commit
a6b84831bb
1 changed files with 3 additions and 4 deletions
|
|
@ -5,8 +5,6 @@
|
|||
import sbt._
|
||||
import sbt.CompileOrder._
|
||||
|
||||
import scala.Array
|
||||
|
||||
import java.util.jar.Attributes
|
||||
import java.util.jar.Attributes.Name._
|
||||
import java.io.File
|
||||
|
|
@ -22,11 +20,12 @@ class AkkaParent(info: ProjectInfo) extends DefaultProject(info) {
|
|||
val SCALATEST_VERSION = "1.0.1-for-scala-2.8.0.Beta1-with-test-interfaces-0.3-SNAPSHOT"
|
||||
|
||||
// ------------------------------------------------------------
|
||||
val encodingUtf8 = List("-encoding", "UTF-8")
|
||||
|
||||
lazy val deployPath = info.projectPath / "deploy"
|
||||
lazy val distPath = info.projectPath / "dist"
|
||||
|
||||
override def compileOptions = super.compileOptions ++
|
||||
Seq("-deprecation", "-Xmigration", "-Xcheckinit", "-Xstrict-warnings", "-Xwarninit", "-encoding", "utf8").map(x => CompileOption(x))
|
||||
|
||||
override def javaCompileOptions = JavaCompileOption("-Xlint:unchecked") :: super.javaCompileOptions.toList
|
||||
|
||||
def distName = "%s_%s-%s.zip".format(name, buildScalaVersion, version)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue