问题
How do I send the project variables such as "application version" in the install4j gradle plugin?
What happens if there is an Application version specified in the install4j file? Which one will be used?
回答1:
As to how the application version is passed by the gradle plugin, that was answered in
In Install4j - How can I read the version from an external file?
As to which value will be used, anything that is passed externally overrides the values that are defined in the project.
来源:https://stackoverflow.com/questions/41727635/in-install4j-how-can-i-specify-the-apps-version-via-gradle-plugin