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

systemProperties javadoc is not clear enough (Gradle plugin) #66

Closed
lazar-mitrovic opened this issue Jun 22, 2021 · 0 comments
Closed
Assignees
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@lazar-mitrovic
Copy link
Collaborator

lazar-mitrovic commented Jun 22, 2021

/**
* Returns the system properties which will be used for the process.
*
* @return The system properties. Returns an empty map when there are no system properties.
*/
public MapProperty<String, Object> getSystemProperties() {
return systemProperties;
}

This javadoc isn't clear enough about the fact that systemProperties are passed to native-image builder, and not to built image itself. Related issue: #62

@lazar-mitrovic lazar-mitrovic added this to the 0.9.1 milestone Jun 22, 2021
@lazar-mitrovic lazar-mitrovic self-assigned this Jun 22, 2021
@lazar-mitrovic lazar-mitrovic added the documentation Improvements or additions to documentation label Jun 22, 2021
lazar-mitrovic added a commit that referenced this issue Jun 22, 2021
Add/clarify Javadoc in the NativeImageOptions class wherever needed.
Add @deprecated tag to options that are there only for compatibilty with older Gradle plugins.
Use only recommended options internally in order to be consistent.

Closes following issues:
Fixes User native-image arguments should override plugin arguments in the gradle plugin #64
Fixes Wrong error message when agent output is missing (Gradle plugin) #65
Fixes systemProperties javadoc is not clear enough (Gradle plugin) #66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant