KT-34862 use relative path for incremental build cache
This commit is contained in:
@@ -589,6 +589,8 @@ abstract class CompileServiceImplBase(
|
||||
}
|
||||
}
|
||||
|
||||
val projectRoot = incrementalCompilationOptions.modulesInfo.projectRoot
|
||||
|
||||
val compiler = IncrementalJvmCompilerRunner(
|
||||
workingDir,
|
||||
reporter,
|
||||
@@ -599,7 +601,7 @@ abstract class CompileServiceImplBase(
|
||||
kotlinSourceFilesExtensions = allKotlinExtensions
|
||||
)
|
||||
return try {
|
||||
compiler.compile(allKotlinFiles, k2jvmArgs, compilerMessageCollector, changedFiles)
|
||||
compiler.compile(allKotlinFiles, k2jvmArgs, compilerMessageCollector, changedFiles, projectRoot)
|
||||
} finally {
|
||||
reporter.flush()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user