mirror of https://github.com/sbt/sbt.git
added convenience method: javaCompileOptions(options: String*): Seq[JavaCompileOption]
This commit is contained in:
parent
3d5f6672ce
commit
b0b5db4b5d
|
|
@ -44,6 +44,7 @@ trait SimpleScalaProject extends ExecProject with Cleanable
|
|||
case class JavaCompileOption(val asString: String) extends ActionOption
|
||||
|
||||
def compileOptions(asString: String*): Seq[CompileOption] = asString.map(CompileOption.apply)
|
||||
def javaCompileOptions(asString: String*): Seq[JavaCompileOption] = asString.map(JavaCompileOption.apply)
|
||||
|
||||
val Deprecation = CompileOption(CompileOptions.Deprecation)
|
||||
val ExplainTypes = CompileOption("-explaintypes")
|
||||
|
|
|
|||
Loading…
Reference in New Issue