Browse Source

Merge c70d4a8e15be62fe26bb147f52cc9c3985c5b39f into 0398a33fe29ba56aa3525b435a830d270322df8e

Kris De Volder 7 years ago
parent
commit
95a90d02bc
4 changed files with 29 additions and 0 deletions
  1. 11
    0
      complete/build.gradle
  2. 4
    0
      complete/pom.xml
  3. 10
    0
      initial/build.gradle
  4. 4
    0
      initial/pom.xml

+ 11
- 0
complete/build.gradle View File

@@ -17,6 +17,17 @@ jar {
17 17
     version =  '0.1.0'
18 18
 }
19 19
 
20
+sourceCompatibility = 1.7
21
+targetCompatibility = 1.7
22
+
23
+eclipse {
24
+    //See https://issues.gradle.org/browse/GRADLE-3100 
25
+    classpath {
26
+         containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
27
+         containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7'
28
+    }
29
+}
30
+
20 31
 repositories {
21 32
     mavenCentral()
22 33
 }

+ 4
- 0
complete/pom.xml View File

@@ -12,6 +12,10 @@
12 12
         <artifactId>spring-boot-starter-parent</artifactId>
13 13
         <version>1.5.3.RELEASE</version>
14 14
     </parent>
15
+    
16
+    <properties>
17
+        <java.version>1.7</java.version>
18
+    </properties>
15 19
 
16 20
     <dependencies>
17 21
         <dependency>

+ 10
- 0
initial/build.gradle View File

@@ -17,6 +17,16 @@ jar {
17 17
     version =  '0.1.0'
18 18
 }
19 19
 
20
+sourceCompatibility = 1.7
21
+targetCompatibility = 1.7
22
+
23
+eclipse {
24
+    classpath {
25
+         containers.remove('org.eclipse.jdt.launching.JRE_CONTAINER')
26
+         containers 'org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7'
27
+    }
28
+}
29
+
20 30
 repositories {
21 31
     mavenCentral()
22 32
 }

+ 4
- 0
initial/pom.xml View File

@@ -13,6 +13,10 @@
13 13
         <version>1.5.3.RELEASE</version>
14 14
     </parent>
15 15
 
16
+    <properties>
17
+        <java.version>1.7</java.version>
18
+    </properties>
19
+
16 20
     <dependencies>
17 21
         <dependency>
18 22
             <groupId>org.springframework.boot</groupId>