mirror of https://github.com/sbt/sbt.git
Merge pull request #4730 from eatkins/external-hooks
Move external hooks definition
This commit is contained in:
commit
b6f02b9b8c
|
|
@ -609,12 +609,8 @@ object Defaults extends BuildCommon {
|
|||
else ""
|
||||
s"inc_compile$extra.zip"
|
||||
},
|
||||
compileIncSetup := {
|
||||
val base = compileIncSetupTask.value
|
||||
val incOptions =
|
||||
base.incrementalCompilerOptions.withExternalHooks(ExternalHooks.default.value)
|
||||
base.withIncrementalCompilerOptions(incOptions)
|
||||
},
|
||||
incOptions := { incOptions.value.withExternalHooks(ExternalHooks.default.value) },
|
||||
compileIncSetup := compileIncSetupTask.value,
|
||||
console := consoleTask.value,
|
||||
collectAnalyses := Definition.collectAnalysesTask.map(_ => ()).value,
|
||||
consoleQuick := consoleQuickTask.value,
|
||||
|
|
|
|||
Loading…
Reference in New Issue