在install4j中,如何通过gradle插件指定应用程序的版本? [英] In install4j, how can i specify the app's version via gradle plugin?

查看:135
本文介绍了在install4j中,如何通过gradle插件指定应用程序的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在install4j gradle插件中发送诸如application version之类的项目变量?

如果在install4j文件中指定了应用程序版本,会发生什么情况?哪一个将被使用?

解决方案

至于应用程序版本是如何通过gradle插件传递的,已在

在Install4j - 如何从外部文件读取版本?



至于使用哪个值,任何外部传递的值将覆盖在项目中定义。


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?

解决方案

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.

这篇关于在install4j中,如何通过gradle插件指定应用程序的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆