Configuration Reference
Version:3.0.1-SNAPSHOT
Standard Optimizers
|
Warning
|
These are not configuration properties to add in your regular Micronaut configuration files, but properties to be added to the Micronaut AOT configuration, via your build plugin. Please refer to the appropriate Maven or Gradle plugin for more details. |
Module cached.environment
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Caches environment property values: environment properties will be deemed immutable after application startup |
|
Module deduce.environment
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Deduces the environment at build time instead of runtime |
|
Module known.missing.types
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Checks for the existence of some types at build time instead of runtime |
|
|
A list of types that the AOT analyzer needs to check for existence (comma separated) |
|
Module logback.xml.to.java
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Replaces logback.xml with a pure Java configuration (Experimental) |
|
Module netty.properties
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Defines some Netty system properties when starting the application which optimize startup times |
|
|
The machine id used by Netty. By default, generates a random value at runtime. Set it to a fixed MAC address to override, or use the value 'netty' to disable the optimization and get it at runtime. |
|
|
The process id to use for Netty. Defaults to a random PID at runtime. Set it to a fixed value (not recommended) or use the value 'netty' to disable the optimization and get it at runtime. |
|
Module precompute.environment.properties
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Precomputes Micronaut configuration property keys from the current environment variables |
|
Module property-source-loader.generate
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Converts configuration files supplied by property source loaders to Java configuration |
|
|
The PropertySourceLoader classnames to use for generating property sources |
|
|
The base order to use for the generated property sources. Positive value will be added to base order for specific environments |
|
|
The resource names to generate property sources for. By default, it is 'application,bootstrap'. |
|
|
Whether the property source loaders specified by types should be excluded in service loading |
|
|
Deprecated option to enable the yaml property source generation. Use property-source-loader.types=io.micronaut.context.env.yaml.YamlPropertySourceLoader instead |
|
Module scan.reactive.types
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Scans reactive types at build time instead of runtime |
|
Module sealed.property.source
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables this optimization: Precomputes property sources at build time |
|
Module graalvm.config
This module is available in native mode.
Property |
Description |
Example value |
|
Enables this optimization: Generates GraalVM configuration files required to load the AOT optimizations |
|
|
The list of service types to be scanned (comma separated) |
|