From 466011c7321958859773a1dbc571b94e5f79499f Mon Sep 17 00:00:00 2001 From: Sergio del Amo Date: Wed, 23 Aug 2023 17:15:27 +0200 Subject: [PATCH 1/2] intructions for Micronaut AOT --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 679449a..fd8c27f 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,7 @@ You should see your email address printed to your terminal. You can also build and run each example as a native app. - Micronaut: `./gradlew nativeCompile` +- Micronaut [AOT](https://micronaut-projects.github.io/micronaut-gradle-plugin/latest/#_micronaut_aot_plugin): `./gradlew nativeOptimizedCompile` - GraalVM executable compiled with Micronaut AOT optimizations - Quarkus: `quarkus build --native` - Spring Boot: `./gradlew nativeCompile` - Helidon: `mvn package -Pnative-image` @@ -74,6 +75,7 @@ You can also build and run each example as a native app. Then, start each app as a native executable. - Micronaut: `./build/native/nativeCompile/app` +- Micronaut AOT: `./build/native/nativeOptimizedCompile/app` - Quarkus: `./build/quarkus-1.0.0-SNAPSHOT-runner` - Spring Boot: `./build/native/nativeCompile/spring-boot` - Helidon: `./target/helidon` From 38ded0e3175aa211358b5d8718ae4b7df95040e7 Mon Sep 17 00:00:00 2001 From: Sergio del Amo Date: Wed, 23 Aug 2023 17:17:18 +0200 Subject: [PATCH 2/2] optimized run --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index fd8c27f..d66106f 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Change the following files for each framework to match your Auth0 domain: You can start each app using its CLI, Gradle, or Maven. Note that you will only be able to start one at a time since they all run on port 8080. - Micronaut: `./gradlew run` +- Micronaut [AOT](https://micronaut-projects.github.io/micronaut-gradle-plugin/latest/#_micronaut_aot_plugin): `./gradlew optimizedRun` - Quarkus: `quarkus dev` - Spring Boot: `./gradlew bootRun` - Helidon: `helidon dev`