mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Merge branch 'master' of github.com:cbeust/kobalt
This commit is contained in:
commit
35769f099f
2 changed files with 5 additions and 3 deletions
|
@ -421,8 +421,10 @@ class KotlinCompiler @Inject constructor(
|
|||
val info = CompilerActionInfo(project?.directory, dependencies, sourceFiles, listOf("kt"), outputDir, args,
|
||||
friendPaths, context?.internalContext?.forceRecompile ?: false, compilerSeparateProcess)
|
||||
|
||||
return jvmCompiler.doCompile(project, context, compilerAction, info,
|
||||
if (context != null) compilerUtils.sourceCompilerFlags(project, context, info) else emptyList())
|
||||
val compilerFlags =
|
||||
if (context != null) compilerUtils.sourceCompilerFlags(project, context, info)
|
||||
else emptyList()
|
||||
return jvmCompiler.doCompile(project, context, compilerAction, info, compilerFlags)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue