1.8 KiB
1.8 KiB
Kotlin Extension for bld
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.