Bladeren bron

Upgrade to Java 8

Greg Turnquist 9 jaren geleden
bovenliggende
commit
219e59715d
5 gewijzigde bestanden met toevoegingen van 7 en 7 verwijderingen
  1. 1
    1
      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

+ 1
- 1
README.adoc Bestand weergeven

@@ -18,7 +18,7 @@ You'll build a simple web application with Spring Boot and add some useful servi
18 18
 
19 19
 == What you'll need
20 20
 
21
-:java_version: 1.7
21
+:java_version: 1.8
22 22
 include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/prereq_editor_jdk_buildtools.adoc[]
23 23
 
24 24
 include::https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/how_to_complete_this_guide.adoc[]

+ 2
- 2
complete/build.gradle Bestand weergeven

@@ -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 Bestand weergeven

@@ -34,7 +34,7 @@
34 34
     </dependencies>
35 35
 
36 36
     <properties>
37
-        <java.version>1.7</java.version>
37
+        <java.version>1.8</java.version>
38 38
     </properties>
39 39
 
40 40
     <build>

+ 2
- 2
initial/build.gradle Bestand weergeven

@@ -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
     // tag::jetty[]

+ 1
- 1
initial/pom.xml Bestand weergeven

@@ -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