Skip to content

Commit 56e8f7f

Browse files
authored
Update 79.4.2 Configuring Spring Loaded for use with Gradle and IntelliJ.md
1 parent e614c5a commit 56e8f7f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

IX. ‘How-to’ guides/79.4.2 Configuring Spring Loaded for use with Gradle and IntelliJ.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
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
77
buildscript {
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
}
@@ -23,6 +23,6 @@ idea {
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`这样不管什么时候只要文件被保存都会自动编译

0 commit comments

Comments
 (0)