-
Notifications
You must be signed in to change notification settings - Fork 0
/
aot-native-image.properties
43 lines (29 loc) · 2.51 KB
/
aot-native-image.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# AOT configuration properties for native-image packaging
# Please review carefully the optimizations enabled below
# Check https://micronaut-projects.github.io/micronaut-aot/latest/guide/ for more details
# Caches environment property values: environment properties will be deemed immutable after application startup.
cached.environment.enabled=true
# Precomputes Micronaut configuration property keys from the current environment variables
precompute.environment.properties.enabled=true
# Converts YAML configuration files to Java configuration
yaml.to.java.config.enabled=false
# Generates GraalVM configuration files required to load the AOT optimizations
graalvm.config.enabled=true
# Scans for service types ahead-of-time, avoiding classpath scanning at startup
serviceloading.native.enabled=false
# Scans reactive types at build time instead of runtime
scan.reactive.types.enabled=true
# Deduces the environment at build time instead of runtime
deduce.environment.enabled=true
# Checks of existence of some types at build time instead of runtime
known.missing.types.enabled=true
# Precomputes property sources at build time
sealed.property.source.enabled=true
# The list of service types to be scanned (comma separated)
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
# A list of types that the AOT analyzer needs to check for existence (comma separated)
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
# It fetches remote Json Web Key Set at Build Time. https://micronaut-projects.github.io/micronaut-security/latest/guide/index.html#aotJwks
micronaut.security.jwks.enabled=false
# It fetches OpenID Connect metadata at Build time. https://micronaut-projects.github.io/micronaut-security/latest/guide/index.html#aotOpenidConfiguration
micronaut.security.openid-configuration.enabled=false