mirror of https://github.com/sbt/sbt.git
Avoid upstream compilation when calling previousCompile
This commit is contained in:
parent
011c7083ad
commit
1a8fa65af3
|
|
@ -2580,9 +2580,9 @@ object Defaults extends BuildCommon {
|
|||
private[sbt] def jnone[A]: Optional[A] = none[A].toOptional
|
||||
def compileAnalysisSettings: Seq[Setting[_]] = Seq(
|
||||
previousCompile := {
|
||||
val setup = compileIncSetup.value
|
||||
val analysisFile = compileAnalysisFile.value
|
||||
val store = AnalysisUtil.staticCachedStore(
|
||||
analysisFile = setup.cacheFile.toPath,
|
||||
analysisFile = analysisFile.toPath,
|
||||
useTextAnalysis = !enableBinaryCompileAnalysis.value,
|
||||
useConsistent = enableConsistentCompileAnalysis.value,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue