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