瀏覽代碼

Upgrade to Java 8

Greg Turnquist 9 年之前
父節點
當前提交
5e2176f376
共有 5 個文件被更改,包括 8 次插入8 次删除
  1. 2
    2
      README.adoc
  2. 2
    2
      complete/build.gradle
  3. 1
    1
      complete/pom.xml
  4. 2
    2
      initial/build.gradle
  5. 1
    1
      initial/pom.xml

+ 2
- 2
README.adoc 查看文件

@@ -43,8 +43,8 @@ The `name` parameter value overrides the default value of "World" and is reflect
43 43
 
44 44
 == What you'll need
45 45
 
46
-:java_version: 1.7
47
-:java_version: 1.7
46
+:java_version: 1.8
47
+:java_version: 1.8
48 48
 include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/prereq_editor_jdk_buildtools.adoc[]
49 49
 
50 50
 

+ 2
- 2
complete/build.gradle 查看文件

@@ -21,8 +21,8 @@ repositories {
21 21
     mavenCentral()
22 22
 }
23 23
 
24
-sourceCompatibility = 1.7
25
-targetCompatibility = 1.7
24
+sourceCompatibility = 1.8
25
+targetCompatibility = 1.8
26 26
 
27 27
 dependencies {
28 28
     compile("org.springframework.boot:spring-boot-starter-web")

+ 1
- 1
complete/pom.xml 查看文件

@@ -21,7 +21,7 @@
21 21
     </dependencies>
22 22
 
23 23
     <properties>
24
-        <java.version>1.7</java.version>
24
+        <java.version>1.8</java.version>
25 25
     </properties>
26 26
 
27 27
 

+ 2
- 2
initial/build.gradle 查看文件

@@ -21,8 +21,8 @@ repositories {
21 21
     mavenCentral()
22 22
 }
23 23
 
24
-sourceCompatibility = 1.7
25
-targetCompatibility = 1.7
24
+sourceCompatibility = 1.8
25
+targetCompatibility = 1.8
26 26
 
27 27
 dependencies {
28 28
     compile("org.springframework.boot:spring-boot-starter-web")

+ 1
- 1
initial/pom.xml 查看文件

@@ -21,7 +21,7 @@
21 21
     </dependencies>
22 22
 
23 23
     <properties>
24
-        <java.version>1.7</java.version>
24
+        <java.version>1.8</java.version>
25 25
     </properties>
26 26
 
27 27