bld-kotlin/README.md

1.9 KiB

Kotlin Extension for bld

License Java Kotlin bld Release Snapshot GitHub CI

To install, please refer to the extensions documentation.

To compile the Kotlin source code from the current project located in src/main/kotlin and src/test/kotlin:

@BuildCommand(summary = "Compile the Kotlin project")
public void compile() throws IOException {
    new CompileKotlinOperation()
            .fromProject(this)
            .compileOptions("-verbose")
            .execute();
}
./bld compile

Please check the Compile Operation documentation for all available configuration options.