19.4 Using the Gradle plugin

Spring Boot Gradle插件也包含一个bootRun任务,可用来运行你的应用程序。无论你何时import spring-boot-gradle-pluginbootRun任务总会被添加进去。

$ gradle bootRun

你可能想使用一些有用的操作系统环境变量(linux下的环境设置):

$ export JAVA_OPTS=-Xmx1024m -XX:MaxPermSize=128M

results matching ""

    No results matching ""