Unable to configure configurationFileDirectories
for task nativeCompile
#587
Labels
question
Further information is requested
Description
Task
nativeTestCompile
works as described in the docs as it executes commandnative-image
with entrybuild/native/agent-output/test
added to the-H:ConfigurationFileDirectories
parameter.Now, if I gathered the metadata first by running
./gradlew -Pagent test
, I would like to add entrybuild/native/agent-output/test
to the-H:ConfigurationFileDirectories
parameter of commandnative-image
executed by tasknativeCompile
; how do I do that? Otherwise tasknativeRun
will not be successful giving the metadata is not included in the generated image. I see that tasknativeCompile
has propertyoptions.get().asCompileOptions().configurationFileDirectories
which doesn't seem to be mutable at configuration time; what am I missing?Additional context
n/a
System Info (please complete the following information):
Linux 5.15.146.1-microsoft-standard-WSL2 GNU/Linux
Java(TM) SE Runtime Environment Oracle GraalVM 21.0.2+13.1
21
native-gradle-plugin:0.10.1
The text was updated successfully, but these errors were encountered: