public interface AOTOptimizations
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.provider.Property<java.lang.Boolean> |
getCacheEnvironment()
If set to true, the environment variables and system properties
read at application startup will be deemed immutable.
|
org.gradle.api.provider.MapProperty<java.lang.String,java.lang.String> |
getConfigurationProperties()
An optional map of properties which will be merged with the configuration
to generate the final configuration file of Micronaut AOT.
|
org.gradle.api.provider.Property<java.lang.Boolean> |
getConvertYamlToJava()
If set to true, YAML files will be converted to Java configuration.
|
org.gradle.api.provider.Property<java.lang.Boolean> |
getDeduceEnvironment()
If set to true and that the application context uses deduceEnvironment(true)
then the deduction will be done at build time instead of run time.
|
org.gradle.api.provider.MapProperty<java.lang.String,java.lang.String> |
getEnvironmentVariables()
Configures environment variables which will be injected
during AOT analysis.
|
NettyOptimizations |
getNettyOptimizations()
Returns the Netty optimizations
|
org.gradle.api.provider.Property<java.lang.Boolean> |
getOptimizeClassLoading()
If set to true, the AOT compiler will optimize classloading.
|
default org.gradle.api.provider.Property<java.lang.Boolean> |
getOptimizeNetty()
A short-hand notation to enable Netty optimizations
|
org.gradle.api.provider.Property<java.lang.Boolean> |
getOptimizeServiceLoading()
If set to true, services loading will be optimized.
|
org.gradle.api.provider.ListProperty<java.lang.String> |
getPossibleEnvironments()
Sets the list of possible environment names.
|
org.gradle.api.provider.Property<java.lang.Boolean> |
getPrecomputeOperations()
If set to true, the AOT will precompute at build time a number of
different types of information which would have been computed at
runtime instead.
|
org.gradle.api.provider.Property<java.lang.Boolean> |
getReplaceLogbackXml()
If set to true, logback.xml is replaced with Java configuration
|
org.gradle.api.provider.ListProperty<java.lang.String> |
getTargetEnvironments()
Sets the list of target environment names.
|
org.gradle.api.provider.Property<java.lang.String> |
getTargetPackage()
The target package for AOT generated classes.
|
default void |
netty(org.gradle.api.Action<? super NettyOptimizations> configuration)
Configures the Netty optimizations
|
@Input org.gradle.api.provider.Property<java.lang.Boolean> getReplaceLogbackXml()
@Input org.gradle.api.provider.Property<java.lang.Boolean> getCacheEnvironment()
@Input org.gradle.api.provider.Property<java.lang.Boolean> getOptimizeServiceLoading()
@Input org.gradle.api.provider.Property<java.lang.Boolean> getConvertYamlToJava()
@Input org.gradle.api.provider.Property<java.lang.Boolean> getOptimizeClassLoading()
@Input org.gradle.api.provider.Property<java.lang.Boolean> getPrecomputeOperations()
@Input org.gradle.api.provider.Property<java.lang.Boolean> getDeduceEnvironment()
@Input @Optional org.gradle.api.provider.ListProperty<java.lang.String> getPossibleEnvironments()
@Input @Optional org.gradle.api.provider.ListProperty<java.lang.String> getTargetEnvironments()
getPossibleEnvironments() that this call will override whatever
the application context is configured to use.@Input @Optional org.gradle.api.provider.MapProperty<java.lang.String,java.lang.String> getConfigurationProperties()
@Input org.gradle.api.provider.Property<java.lang.String> getTargetPackage()
@Input @Optional org.gradle.api.provider.MapProperty<java.lang.String,java.lang.String> getEnvironmentVariables()
NettyOptimizations getNettyOptimizations()
default void netty(org.gradle.api.Action<? super NettyOptimizations> configuration)
@Internal default org.gradle.api.provider.Property<java.lang.Boolean> getOptimizeNetty()