ソースを参照

Fix gradle build file to declare proper version of Java

Greg Turnquist 9 年 前
コミット
e4321f2848
共有2 個のファイルを変更した6 個の追加0 個の削除を含む
  1. 3
    0
      complete/build.gradle
  2. 3
    0
      initial/build.gradle

+ 3
- 0
complete/build.gradle ファイルの表示

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

+ 3
- 0
initial/build.gradle ファイルの表示

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