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
2
2
3
- 如果想将Spring Loaded和Gradle,IntelliJ结合起来 ,那你需要付出代价。默认情况下,IntelliJ将类编译到一个跟Gradle不同的位置 ,这会导致Spring Loaded监控失败。
3
+ 如果想将Spring Loaded和Gradle,IntelliJ IDEA结合起来 ,那你需要付出代价。默认情况下,IntelliJ IDEA将类编译到一个跟Gradle不同的位置 ,这会导致Spring Loaded监控失败。
4
4
5
- 为了正确配置IntelliJ,你可以使用` idea ` Gradle插件:
5
+ 为了正确配置IntelliJ IDEA ,你可以使用` idea ` Gradle插件:
6
6
``` gradle
7
7
buildscript {
8
8
repositories { jcenter() }
9
9
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 "
11
11
classpath 'org.springframework:springloaded:1.2.0.RELEASE'
12
12
}
13
13
}
23
23
24
24
// ...
25
25
```
26
- ** 注** :IntelliJ必须配置跟命令行Gradle任务相同的Java版本,并且springloaded必须作为一个buildscript依赖被包含进去 。
26
+ ** 注** IntelliJ IDEA必须配置跟命令行Gradle任务相同的Java版本,并且 ` springloaded ` 必须作为一个 ` buildscript ` 依赖被包含进去 。
27
27
28
- 此外,你也可以启用Intellij内部的 ` Make Project Automatically ` ,这样不管什么时候只要文件被保存都会自动编译你的代码 。
28
+ 此外,你也可以启用Intellij IDEA内部的 ` Make Project Automatically ` ,这样不管什么时候只要文件被保存都会自动编译 。
You can’t perform that action at this time.
0 commit comments