Skip to content

Commit 84f6219

Browse files
committed
Follow Fabio Niephaus comments
1 parent 7613fe6 commit 84f6219

File tree

2 files changed

+2
-19
lines changed

2 files changed

+2
-19
lines changed

docs/src/docs/asciidoc/gradle-plugin-quickstart.adoc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,4 @@ The Gradle plugin for GraalVM Native Image adds support for building and testing
457457
https://graalvm.github.io/native-build-tools/latest/gradle-plugin.html[plugin
458458
reference documentation].
459459

460-
Note that if your application does not call any classes dynamically at run time, the execution with the agent is needless. Your workflow, in that case, is just:
461-
462-
[source,shell]
463-
----
464-
./gradlew nativeRun
465-
----
466-
467-
Lastly, if you use GraalVM Enterprise as your `JAVA_HOME` environment, the plugin builds a native executable with enterprise features enabled.
460+
Note that if your application does not call any classes dynamically at run time, the execution with the agent is needless. Your workflow, in that case, is just `./gradlew nativeRun`.

docs/src/docs/asciidoc/maven-plugin-quickstart.adoc

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -446,14 +446,4 @@ Run `-Pnative` profile will then build and run native tests.
446446

447447
The Maven plugin for GraalVM Native Image adds support for building and testing native executables using https://maven.apache.org/[Apache Maven™]. The plugin has many features, described in the <<maven-plugin.adoc#,plugin reference documentation>>.
448448

449-
Note that if your application does not call any classes dynamically at run time, the execution with the agent is needless. Your workflow, in that case, is just:
450-
451-
[source,shell]
452-
----
453-
mvn clean compile
454-
mvn -Pnative package
455-
----
456-
457-
Another advantage of the plugin is that if you use GraalVM Enterprise as
458-
your `JAVA_HOME` environment, the plugin builds a native executable with
459-
enterprise features enabled.
449+
Note that if your application does not call any classes dynamically at run time, the execution with the agent is needless. Your workflow, in that case, is just `mvn clean -Pnative package`.

0 commit comments

Comments
 (0)