Merge pull request #4730 from eatkins/external-hooks

Move external hooks definition
This commit is contained in:
eugene yokota 2019-05-27 18:49:00 -04:00 committed by GitHub
commit b6f02b9b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 6 deletions

View File

@ -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,