Quellcode durchsuchen

Fix gradle build file to declare proper version of Java

Greg Turnquist vor 10 Jahren
Ursprung
Commit
e3d003ed1a
2 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 3 0
      complete/build.gradle
  2. 3 0
      initial/build.gradle

+ 3 - 0
complete/build.gradle

@@ -23,6 +23,9 @@ repositories {
     mavenCentral()
 }
 
+sourceCompatibility = 1.7
+targetCompatibility = 1.7
+
 dependencies {
     compile("org.springframework.boot:spring-boot-starter-websocket")
     compile("org.springframework:spring-messaging")

+ 3 - 0
initial/build.gradle

@@ -23,6 +23,9 @@ repositories {
     mavenCentral()
 }
 
+sourceCompatibility = 1.7
+targetCompatibility = 1.7
+
 dependencies {
     compile("org.springframework.boot:spring-boot-starter-websocket")
     compile("org.springframework:spring-messaging")