From a8d0b30f5e99e4d155ed3727f5ea364f19080913 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Fri, 20 Mar 2015 00:43:58 +0800 Subject: [PATCH] Update 19.4. Using the Gradle plugin.md --- .../19.4. Using the Gradle plugin.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/III. Using Spring Boot/19.4. Using the Gradle plugin.md b/III. Using Spring Boot/19.4. Using the Gradle plugin.md index e69de29..f2c0317 100644 --- a/III. Using Spring Boot/19.4. Using the Gradle plugin.md +++ b/III. Using Spring Boot/19.4. Using the Gradle plugin.md @@ -0,0 +1,10 @@ +### 19.4. 使用Gradle插件运行 + +Spring Boot Gradle插件也包含一个`run`目标,它可以用来以暴露的方式运行你的应用程序。不管你什么时候导入`spring-boot-plugin`,`bootRun`任务总是被添加进去。 +```shell +$ gradle bootRun +``` +你可能想使用那些有用的操作系统环境变量: +```shell +$ export JAVA_OPTS=-Xmx1024m -XX:MaxPermSize=128M -Djava.security.egd=file:/dev/./urandom +```