File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- ### 79.4.2 使用Gradle和IntelliJ配置Spring Loaded
1+ ### 79.4.2 使用Gradle和IntelliJ IDEA配置Spring Loaded
22
3- 如果想将Spring Loaded和Gradle,IntelliJ结合起来 ,那你需要付出代价。默认情况下,IntelliJ将类编译到一个跟Gradle不同的位置 ,这会导致Spring Loaded监控失败。
3+ 如果想将Spring Loaded和Gradle,IntelliJ IDEA结合起来 ,那你需要付出代价。默认情况下,IntelliJ IDEA将类编译到一个跟Gradle不同的位置 ,这会导致Spring Loaded监控失败。
44
5- 为了正确配置IntelliJ,你可以使用` idea ` Gradle插件:
5+ 为了正确配置IntelliJ IDEA ,你可以使用` idea ` Gradle插件:
66``` gradle
77buildscript {
88 repositories { jcenter() }
99 dependencies {
10- classpath "org.springframework.boot:spring-boot-gradle-plugin:1.3.0.BUILD-SNAPSHOT "
10+ classpath "org.springframework.boot:spring-boot-gradle-plugin:1.4.1.RELEASE "
1111 classpath 'org.springframework:springloaded:1.2.0.RELEASE'
1212 }
1313}
2323
2424// ...
2525```
26- ** 注** :IntelliJ必须配置跟命令行Gradle任务相同的Java版本,并且springloaded必须作为一个buildscript依赖被包含进去 。
26+ ** 注** IntelliJ IDEA必须配置跟命令行Gradle任务相同的Java版本,并且 ` springloaded ` 必须作为一个 ` buildscript ` 依赖被包含进去 。
2727
28- 此外,你也可以启用Intellij内部的 ` Make Project Automatically ` ,这样不管什么时候只要文件被保存都会自动编译你的代码 。
28+ 此外,你也可以启用Intellij IDEA内部的 ` Make Project Automatically ` ,这样不管什么时候只要文件被保存都会自动编译 。
You can’t perform that action at this time.
0 commit comments