Skip to content

Commit

Permalink
GraalVM: added maven profile native-image
Browse files Browse the repository at this point in the history
  • Loading branch information
mattirn committed May 5, 2020
1 parent 6643730 commit 40900ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
</execution>
</executions>
<configuration>
<skip>false</skip>
<skip>${native.image.skip}</skip>
<imageName>graal</imageName>
<mainClass>org.jline.demo.Graal</mainClass>
<buildArgs>
Expand Down
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>

<native.image.skip>true</native.image.skip>

<jna.version>5.3.1</jna.version>
<jansi.version>1.18</jansi.version>
<juniversalchardet.version>1.0.3</juniversalchardet.version>
Expand Down Expand Up @@ -572,6 +574,13 @@
<defaultGoal>com.mycila:license-maven-plugin:format</defaultGoal>
</build>
</profile>

<profile>
<id>native-image</id>
<properties>
<native.image.skip>false</native.image.skip>
</properties>
</profile>
</profiles>

<modules>
Expand Down

0 comments on commit 40900ef

Please sign in to comment.