Documentation
Gradle Configuration
After installing the Gradle plugin, you can customize the compiler plugin behavior.
Configuration options
You can customize the compiler plugin behavior in your app module's build.gradle.kts using the hotSwanCompiler block:
hotSwanCompiler {
enabled = true
debugOnly = true
}enabled
Master switch to enable or disable the HotSwan compiler plugin. When set to false, the plugin is completely inert: no compiler transformations are applied, and the client library is not added. Default: true.
debugOnly
When true, compiler transformations are only applied to debug builds. Release builds compile normally with zero overhead from the plugin. There is no reason to disable this unless you are testing the plugin's effect on release builds. Default: true.