在正式文档(http://resources.ej-technologies.com/install4j/help/doc/index.html)中,我没有看到如何指定许可密钥的方法,尽管有- license =标志。有人对如何解决这个问题有任何建议吗?
谢谢,
发布于 2015-11-06 10:29:37
从6.0.4开始,没有办法用gradle插件设置许可密钥,您必须调用
install4jc --license=[license key]直接了当。
发布于 2019-04-17 13:42:55
根据文档,您可以按以下方式设置许可证
install4j {
installDir = file('/path/to/install4j_home')
license = 'your_actual_license'
}警告:如果指定了许可属性,install4j将覆盖任何先前的许可证并立即退出。在移除许可证配置之前,不会生成安装文件。
请参阅https://www.ej-technologies.com/resources/install4j/help/doc/help.pdf
https://stackoverflow.com/questions/33494961
复制相似问题