1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-25 07:57:12 -07:00

For 'run', don't use the error stream as an error indicator.

This commit is contained in:
Cedric Beust 2017-12-09 08:59:23 -08:00
parent 05f8e2f41a
commit fdee66ab93

View file

@ -17,7 +17,6 @@ import com.beust.kobalt.plugin.packaging.PackageConfig
import com.beust.kobalt.plugin.packaging.PackagingPlugin
import com.google.inject.Inject
import com.google.inject.Singleton
import org.jetbrains.kotlin.config.TargetPlatformVersion.NoVersion.description
import java.io.File
class ApplicationConfig {
@ -139,6 +138,7 @@ class ApplicationPlugin @Inject constructor(val configActor: ConfigsActor<Applic
val exitCode = runCommand {
command = "java"
args = allArgs
useErrorStreamAsErrorIndicator = false
directory = File(project.directory)
successCallback = { output: List<String> ->
kobaltLog(1, output.joinToString("\n"))