在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):heroku/heroku-gradle开源软件地址(OpenSource Url):https://github.com/heroku/heroku-gradle开源编程语言(OpenSource Language):Java 57.1%开源软件介绍(OpenSource Introduction):Heroku Gradle PluginThis plugin is used to deploy Gradle based JVM applications directly to Heroku without pushing to a Git repository. This can be useful when deploying from a CI server. Using the PluginAdd the plugin to your
Create a Heroku app using the Heroku CLI:
Build your application, and run the
ConfigurationYou can configure the heroku-gradle plugin by using the You can configure your Heroku app name like this:
You can include extra files like this:
You can exclude all files except your fat-jar like this:
You can strip the path from the file paths (e.g. turning "foo/bar/build/foobar.tgz" into "foobar.tgz" ). This will default to project.rootDir (i.e. the root of all modules)
You can explicitly define the required jdk version (in system.properties)
You can customize the command used to run your app (in Procfile) like this:
DevelopmentThe heavy lifting for this plugin is done by the heroku-deploy library. The source code for that project can be found in the heroku-maven-plugin repository. If you need to update that library, do this:
Then update the heroku-deploy dependency version in the heroku-gradle |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论