cbeust / kobalt

A Kotlin-based build system for the JVM.
Apache License 2.0
432 stars 60 forks source link

Support multiple application{} configurations #430

Closed cbeust closed 7 years ago

cbeust commented 7 years ago

It should be possible to have multiple main classes, e.g.

    application {
        taskName = "runJava"
        mainClass = "com.example.Example"
    }

    application {
        taskName = "runKotlin"
        mainClass = "com.example.ExampleKt"
    }
cbeust commented 7 years ago

1.0.76.

ethauvin commented 7 years ago

Also:

install {
   taskName = "live"
   target = "path/to/live/sever"
}

install {
   taskName = "test"
   target = "path/to/test/server"
}