Kotlin Extension for bld
https://github.com/rife2/bld-kotlin
.github/workflows | ||
.idea | ||
.vscode | ||
config | ||
examples | ||
lib/bld | ||
src | ||
.gitignore | ||
bld | ||
bld.bat | ||
LICENSE.txt | ||
README.md |
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.