Command Line Execution Plug-in for Kobalt

<1 min read

I've just finished a plug-in for Cédric's Kobalt build system based on Kotlin.

The plug-in allows for the execution of system commands, similarly to the Gradle Exec or Ant Exec tasks.

import net.thauvin.erik.kobalt.plugin.exec.*

var pl = plugins("net.thauvin.erik:kobalt-exc:")

var p = project {
    name = "example"

    exec {
        commandLine(listOf("echo", "Hello, World!"))
    }
}

Documentation and source are on GitHub.