mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Fix class path look up in kapt3.
This commit is contained in:
parent
5bcb8185b8
commit
43844cbf80
5 changed files with 34 additions and 16 deletions
|
@ -12,4 +12,5 @@ data class CompilerActionInfo(val directory: String?,
|
|||
val outputDir: File,
|
||||
val compilerArgs: List<String>,
|
||||
val friendPaths: List<String>,
|
||||
val forceRecompile: Boolean)
|
||||
val forceRecompile: Boolean,
|
||||
val compilerSeparateProcess: Boolean = false)
|
||||
|
|
|
@ -79,10 +79,12 @@ open class NewRunCommand(val info: RunCommandInfo) {
|
|||
|
||||
// Run the command and collect the return code and streams
|
||||
val returnCode = process.waitFor(30, TimeUnit.SECONDS)
|
||||
val input = if (process.inputStream.available() > 0) fromStream(process.inputStream)
|
||||
else listOf()
|
||||
val error = if (process.errorStream.available() > 0) fromStream(process.errorStream)
|
||||
else listOf()
|
||||
val input =
|
||||
if (process.inputStream.available() > 0) fromStream(process.inputStream)
|
||||
else listOf()
|
||||
val error =
|
||||
if (process.errorStream.available() > 0) fromStream(process.errorStream)
|
||||
else listOf()
|
||||
|
||||
// Check to see if the command succeeded
|
||||
val isSuccess =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue