Owner:
Antonio Sarosi
Generate the typed BAML Java SDK from baml_src/ at build time and auto-manage the matching baml-bridge runtime (and its native engine jar) — so `plugins { id("com.boundaryml.baml") version "X" }` is the whole setup.
https://github.com/BoundaryML/baml
Sources: https://github.com/BoundaryML/baml
Version 0.20.0
Created 18 September 2026.
Generate the typed BAML Java SDK from baml_src/ at build time and auto-manage the matching baml-bridge runtime (and its native engine jar) — so `plugins { id("com.boundaryml.baml") version "X" }` is the whole setup.
Add this plugin to your build using the plugins DSL:
plugins {
id("com.boundaryml.baml") version "0.20.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("com.boundaryml.baml:com.boundaryml.baml.gradle.plugin:0.20.0") }It can then be applied in the precompiled script plugin:plugins { id("com.boundaryml.baml") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.boundaryml.baml:com.boundaryml.baml.gradle.plugin:0.20.0") } } apply(plugin = "com.boundaryml.baml") - Applying plugins to all subprojects .