|
18 | 18 | <native.maven.plugin.version>0.9.20</native.maven.plugin.version>
|
19 | 19 | <graalvm.version>22.3.1</graalvm.version>
|
20 | 20 | <sis.version>1.0</sis.version>
|
| 21 | + <native.image.debug>false</native.image.debug> |
| 22 | + <native.image.verbose>false</native.image.verbose> |
21 | 23 | </properties>
|
22 | 24 |
|
23 | 25 | <dependencies>
|
|
117 | 119 | </executions>
|
118 | 120 | <configuration>
|
119 | 121 | <mainClass>com.nirvdrum.truffleruby.NativeImage</mainClass>
|
| 122 | + <debug>${native.image.debug}</debug> |
| 123 | + <verbose>${native.image.verbose}</verbose> |
120 | 124 | <imageName>native-image-playground</imageName>
|
121 | 125 | </configuration>
|
122 | 126 | </plugin>
|
|
156 | 160 | <configuration>
|
157 | 161 | <mainClass>com.nirvdrum.truffleruby.NativeLibrary</mainClass>
|
158 | 162 | <imageName>lib${launcher.name}</imageName>
|
| 163 | + <debug>${native.image.debug}</debug> |
159 | 164 | <sharedLibrary>true</sharedLibrary>
|
| 165 | + <verbose>${native.image.verbose}</verbose> |
160 | 166 | <buildArgs>-H:+ParseRuntimeOptions</buildArgs>
|
161 | 167 | </configuration>
|
162 | 168 | </plugin>
|
|
223 | 229 | <configuration>
|
224 | 230 | <mainClass>com.nirvdrum.truffleruby.NativeLibraryRuby</mainClass>
|
225 | 231 | <imageName>lib${launcher.name}</imageName>
|
| 232 | + <debug>${native.image.debug}</debug> |
226 | 233 | <sharedLibrary>true</sharedLibrary>
|
| 234 | + <verbose>${native.image.verbose}</verbose> |
227 | 235 | <buildArgs>--language:ruby</buildArgs>
|
228 | 236 | </configuration>
|
229 | 237 | </plugin>
|
|
378 | 386 | <configuration>
|
379 | 387 | <mainClass>com.nirvdrum.truffleruby.NativeLibraryRuby</mainClass>
|
380 | 388 | <imageName>lib${launcher.name}</imageName>
|
| 389 | + <debug>${native.image.debug}</debug> |
381 | 390 | <sharedLibrary>true</sharedLibrary>
|
| 391 | + <verbose>${native.image.verbose}</verbose> |
382 | 392 | <buildArgs>--language:js --language:ruby -H:JNIConfigurationFiles=${project.build.sourceDirectory}/../resources/native-jni-config.json</buildArgs>
|
383 | 393 | </configuration>
|
384 | 394 | </plugin>
|
|
485 | 495 | <configuration>
|
486 | 496 | <mainClass>com.nirvdrum.truffleruby.NativeLibraryRuby</mainClass>
|
487 | 497 | <imageName>lib${launcher.name}</imageName>
|
| 498 | + <debug>${native.image.debug}</debug> |
488 | 499 | <sharedLibrary>true</sharedLibrary>
|
| 500 | + <verbose>${native.image.verbose}</verbose> |
489 | 501 | <buildArgs>--language:js --language:ruby -H:JNIConfigurationFiles=${project.build.sourceDirectory}/../resources/native-jni-config.json</buildArgs>
|
490 | 502 | </configuration>
|
491 | 503 | </plugin>
|
|
0 commit comments