Skip to content
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

Add flag for collecting metadata information for native image #1891

Conversation

AyushChaubey
Copy link
Contributor

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Changes in this PR

We are trying to build a GraalVM native image using Spring native image support.
When we add the DGS micrometer dependency, the native image build process fails complaining about missing parameter names in the compiled classes, which are needed for constructor binding to work correctly in native images.

This PR adds the required flag to the Gradle task.

Please see the detailed discussion here.

@AyushChaubey AyushChaubey changed the title add flag for collecting metadata information for native image Add flag for collecting metadata information for native image Apr 22, 2024
@AyushChaubey AyushChaubey marked this pull request as ready for review April 22, 2024 12:23
@paulbakker paulbakker self-requested a review April 22, 2024 14:22
@srinivasankavitha srinivasankavitha merged commit 13edff7 into Netflix:master Apr 22, 2024
3 checks passed
@AyushChaubey AyushChaubey deleted the add-constructor-metadata-support-for-native-image branch May 6, 2024 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants