mirror of https://github.com/sbt/sbt.git
fix incorrectly using cache directory as cache file for compile
now, <cache-dir>/compile/<config>
This commit is contained in:
parent
c3759a7696
commit
16ad0419a8
|
|
@ -100,7 +100,8 @@ abstract class BasicProject extends TestProject with MultiClasspathProject with
|
|||
val classes = classesDirectory(configuration)
|
||||
val classpath = (classes +: data(prodcp)) ++ data(cp)
|
||||
val analysis = analysisMap(prodcp ++ cp)
|
||||
Compile.inputs(classpath, sources.getFiles.toSeq, classes, scalacOptions, javacOptions, javaSrc.getFiles.toSeq, analysis, cacheDirectory, 100)(compilers, log)
|
||||
val cache = cacheDirectory / "compile" / configuration.toString
|
||||
Compile.inputs(classpath, sources.getFiles.toSeq, classes, scalacOptions, javacOptions, javaSrc.getFiles.toSeq, analysis, cache, 100)(compilers, log)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue