bld-kotlin/README.md
2023-11-04 02:56:48 -07:00

1.8 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:

@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.

You may also want to look at the example project.