Sfoglia il codice sorgente

Fix gradle build file to declare proper version of Java

Greg Turnquist 9 anni fa
parent
commit
e4321f2848
2 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 3
    0
      complete/build.gradle
  2. 3
    0
      initial/build.gradle

+ 3
- 0
complete/build.gradle Vedi File

@@ -21,6 +21,9 @@ repositories {
21 21
     mavenCentral()
22 22
 }
23 23
 
24
+sourceCompatibility = 1.7
25
+targetCompatibility = 1.7
26
+
24 27
 dependencies {
25 28
     compile("org.springframework.boot:spring-boot-starter-web")
26 29
     // tag::actuator[]

+ 3
- 0
initial/build.gradle Vedi File

@@ -21,6 +21,9 @@ repositories {
21 21
     mavenCentral()
22 22
 }
23 23
 
24
+sourceCompatibility = 1.7
25
+targetCompatibility = 1.7
26
+
24 27
 dependencies {
25 28
     // tag::jetty[]
26 29
     compile("org.springframework.boot:spring-boot-starter-web") {