Skip to content

Commit f45777c

Browse files
committed
Add documentation for esmf-native-support module
1 parent 108912b commit f45777c

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[tabs]
2+
====
3+
Maven::
4+
+
5+
--
6+
[source,maven,subs=attributes+]
7+
----
8+
<dependency>
9+
<groupId>org.eclipse.esmf</groupId>
10+
<artifactId>esmf-native-support</artifactId>
11+
<version>{esmf-sdk-version}</version>
12+
</dependency>
13+
----
14+
--
15+
Gradle Groovy DSL::
16+
+
17+
--
18+
[source,gradle,subs=attributes+]
19+
----
20+
implementation 'org.eclipse.esmf:esmf-native-support:{esmf-sdk-version}'
21+
----
22+
--
23+
Gradle Kotlin DSL::
24+
+
25+
--
26+
[source,gradle,subs=attributes+]
27+
----
28+
implementation("org.eclipse.esmf:esmf-native-support:{esmf-sdk-version}")
29+
----
30+
--
31+
====

documentation/developer-guide/modules/tooling-guide/pages/java-aspect-tooling.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,15 @@ Aspect Model validation component require embedded JavaScript execution:
5151
building the native image; for more information see
5252
https://www.graalvm.org/22.3/reference-manual/polyglot-programming/[polyglot programming].
5353

54+
[TIP]
55+
=====
56+
When using esmf-sdk with a GraalVM JDK and you target `native-image` compilation, add a
57+
dependency to the `esmf-native-support` module. This will add the necessary configuration for
58+
esmf-sdk resources, reflection and initialization that is required by the compiler:
59+
60+
include::esmf-developer-guide:ROOT:partial$esmf-aspect-model-starter-artifact.adoc[]
61+
=====
62+
5463
[[parsing-aspect-model-urns]]
5564
== Parsing Aspect Model URNs
5665

0 commit comments

Comments
 (0)