1 # AOT configuration properties for native-image packaging
2 # Please review carefully the optimizations enabled below
3 # Check https://micronaut-projects.github.io/micronaut-aot/latest/guide/ for more details
4
5 # Caches environment property values: environment properties will be deemed immutable after application startup.
6 cached.environment.enabled=true
7
8 # Precomputes Micronaut configuration property keys from the current environment variables
9 precompute.environment.properties.enabled=true
10
11 # Replaces logback.xml with a pure Java configuration
12 logback.xml.to.java.enabled=true
13
14 # Converts YAML configuration files to Java configuration
15 yaml.to.java.config.enabled=false
16
17 # Generates GraalVM configuration files required to load the AOT optimizations
18 graalvm.config.enabled=true
19
20 # Scans for service types ahead-of-time, avoiding classpath scanning at startup
21 serviceloading.native.enabled=false
22
23 # Scans reactive types at build time instead of runtime
24 scan.reactive.types.enabled=true
25
26 # Deduces the environment at build time instead of runtime
27 deduce.environment.enabled=true
28
29 # Checks of existence of some types at build time instead of runtime
30 known.missing.types.enabled=true
31
32 # Precomputes property sources at build time
33 sealed.property.source.enabled=true
34
35 # The list of service types to be scanned (comma separated)
36 service.types=io.micronaut.context.env.PropertySourceLoader,io.micronaut.inject.BeanConfiguration,io.micronaut.inject.BeanDefinitionReference,io.micronaut.http.HttpRequestFactory,io.micronaut.http.HttpResponseFactory,io.micronaut.core.beans.BeanIntrospectionReference,io.micronaut.core.convert.TypeConverterRegistrar,io.micronaut.context.env.PropertyExpressionResolver
37
38 # A list of types that the AOT analyzer needs to check for existence (comma separated)
39 known.missing.types.list=io.reactivex.Observable,reactor.core.publisher.Flux,kotlinx.coroutines.flow.Flow,io.reactivex.rxjava3.core.Flowable,io.reactivex.rxjava3.core.Observable,io.reactivex.Single,reactor.core.publisher.Mono,io.reactivex.Maybe,io.reactivex.rxjava3.core.Single,io.reactivex.rxjava3.core.Maybe,io.reactivex.Completable,io.reactivex.rxjava3.core.Completable,io.methvin.watchservice.MacOSXListeningWatchService,io.micronaut.core.async.publisher.CompletableFuturePublisher,io.micronaut.core.async.publisher.Publishers.JustPublisher,io.micronaut.core.async.subscriber.Completable
40