Skip to content

Execution optimisations are disabled for generateResourcesConfigFile and nativeCompile #32465

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wilkinsona opened this issue Sep 21, 2022 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

We currently configure the classpath of the native image binary in response to the realization of a BuildNativeImageTask. I believe this is leading to Gradle being unable to determine the tasks which are responsible for building the additions to the classpath. This lack of dependency information then causes the execution optimisations to be disabled.

Rather than configuring things via a BuildNativeImageTask, we should be getting the binaries directly from GraalVmExtension and configuring the classpath independent of any task realisation.

@wilkinsona wilkinsona added the type: bug A general bug label Sep 21, 2022
@wilkinsona wilkinsona added this to the 3.0.0-M5 milestone Sep 21, 2022
@wilkinsona wilkinsona self-assigned this Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant