mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Don't cd to project's directory when compiling with Java.
This commit is contained in:
parent
ee88bac39f
commit
48ba30ba47
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,9 @@ class JavaCompiler @Inject constructor(val jvmCompiler: JvmCompiler) {
|
|||
allArgs.addAll(info.sourceFiles)
|
||||
|
||||
val pb = ProcessBuilder(allArgs)
|
||||
info.directory?.let {
|
||||
pb.directory(File(it))
|
||||
}
|
||||
// info.directory?.let {
|
||||
// pb.directory(File(it))
|
||||
// }
|
||||
pb.inheritIO()
|
||||
val line = allArgs.joinToString(" ")
|
||||
log(2, " Compiling $line")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue