Configuration Reference
Version:3.0.0-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 the Caches environment property values: environment properties will be deemed immutable after application startup. optimization |
|
Module deduce.environment
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Deduces the environment at build time instead of runtime optimization |
|
Module known.missing.types
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Checks of existence of some types at build time instead of runtime optimization |
|
|
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 the Replaces logback.xml with a pure Java configuration (Experimental) optimization |
|
Module netty.properties
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Defines some Netty system properties when starting the application which optimize startup times. optimization |
|
|
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 the Precomputes Micronaut configuration property keys from the current environment variables optimization |
|
Module property-source-loader.generate
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Converts configuration files supplied by property source loaders to Java configuration optimization |
|
|
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 the Scans reactive types at build time instead of runtime optimization |
|
Module sealed.property.source
This module is available in JIT and native modes.
Property |
Description |
Example value |
|
Enables the Precomputes property sources at build time optimization |
|
Module graalvm.config
This module is available in native mode.
Property |
Description |
Example value |
|
Enables the Generates GraalVM configuration files required to load the AOT optimizations optimization |
|
|
The list of service types to be scanned (comma separated) |
|