You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPING.md
+42-6Lines changed: 42 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,26 +13,58 @@ Some build tasks require a GraalVM JDK (e.g., tests). You should set `GRAALVM_HO
13
13
The Native Build Tools repository is structured as a Gradle multi-project, with the Maven and Gradle plugins declared as subprojects of the root project.
14
14
To configure it in your IDE (e.g., IntelliJ IDEA), import the root project, and the IDE should automatically detect and include the subprojects.
15
15
16
+
## Projects
17
+
18
+
This repo contains the following projects:
19
+
20
+
-`native-gradle-plugin` — Gradle plugin that provides support for building and testing GraalVM native images in Gradle builds (tasks, DSL, and functional tests).
21
+
-`native-maven-plugin` — Maven plugin that provides support for building and testing GraalVM native images in Maven builds (mojos and functional tests).
22
+
-`junit-platform-native` (in `common/`) — JUnit Platform native support used by plugins to run on native image.
23
+
-`utils` (in `common/`) — Shared utility code used across the plugins, tests, and internal build logic.
24
+
-`graalvm-reachability-metadata` (in `common/`) — Common code related to the [GraalVM reachability metadata](https://github.com/oracle/graalvm-reachability-metadata) repository integration.
25
+
-`docs` — Documentation sources and build for the user guide and changelog. Please keep up to date.
26
+
27
+
Internal build logic (used to build this repository itself):
28
+
29
+
-`settings-plugins` (in `build-logic`) — Gradle settings plugins and supporting tooling.
30
+
-`aggregator` (in `build-logic`) — Composite build that aggregates internal build plugins and conventions.
31
+
16
32
## Building and Testing
17
33
18
-
You can use the various commands in the [Gradle build lifecycle](https://docs.gradle.org/current/userguide/build_lifecycle.html) to build and test the project.
19
-
Some examples are (all executed from the root of the repository):
34
+
You can use the various commands in the [Gradle build lifecycle](https://docs.gradle.org/current/userguide/build_lifecycle.html) to build and test the project (and all the subprojects).
35
+
Examples used in daily development follow (all executed from the root of the repository):
20
36
21
37
```bash
22
38
# Compile all projects
23
39
./gradlew assemble
24
40
41
+
# Compile only the native-gradle-plugin (for example)
42
+
./gradlew :native-gradle-plugin:assemble
43
+
25
44
# Run unit tests in all projects
26
45
./gradlew test
27
46
28
-
# Run functional tests in all projects
29
-
./gradlew funTest
47
+
# Run functional tests in individual projects
48
+
./gradlew :native-maven-plugin:functionalTest
49
+
./gradlew :native-gradle-plugin:functionalTest
30
50
31
-
# Compile only the native-gradle-plugin (for example)
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Documentation for common developer tasks can be found [here](DEVELOPING.md).
27
27
Examples can be found in the [samples subdirectory](samples).
28
28
29
29
### Contributing Code
30
-
We welcome your code contributions. To get started, you will need to sign the [Oracle Contributor Agreement](https://oca.opensource.oracle.com) (OCA).
31
30
32
-
Only pull requests from committers that can be verified as having signed the OCA can be accepted.
31
+
We welcome your code contributions. To get started, you will need to sign the [Oracle Contributor Agreement](https://oca.opensource.oracle.com) (OCA). Only pull requests from committers that can be verified as having signed the OCA can be accepted.
32
+
33
+
To see how to develop Native Build Tools go to [development guide](DEVELOPING.md).
Copy file name to clipboardExpand all lines: native-maven-plugin/src/testFixtures/groovy/org/graalvm/buildtools/maven/AbstractGraalVMMavenFunctionalTest.groovy
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -157,10 +157,16 @@ abstract class AbstractGraalVMMavenFunctionalTest extends Specification {
0 commit comments