Skip to content

System properties in native-gradle-plugin should be wrapped in double quotes #668

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

Open
wirthi opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working gradle-plugin Related to Gradle plugin
Milestone

Comments

@wirthi
Copy link
Member

wirthi commented Jan 8, 2025

System properties propagated to java from native-gradle-plugin system properties configuration are wrapped in quotes

graalvmNative {
  binaries {
    main {     
      systemProperties = [propertyName: 'value']

System.getProperty("propertyName") in java then returns a 7 character string starting and ending with a double-quote character - "value"

(note: reported as GR-60693 to GraalVM and copied here)

@wirthi wirthi added the bug Something isn't working label Jan 8, 2025
@brahimhaddou brahimhaddou added this to the 0.10.6 milestone Feb 5, 2025
@brahimhaddou brahimhaddou modified the milestones: 0.10.6, 0.10.7 Mar 15, 2025
@sbrannen sbrannen added the gradle-plugin Related to Gradle plugin label Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gradle-plugin Related to Gradle plugin
Projects
None yet
Development

No branches or pull requests

3 participants