Skip to content

Commit 62b705a

Browse files
committed
Force Java 7 compatibility
1 parent 7b2c569 commit 62b705a

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

subprojects/api/api.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
import static org.gradle.api.JavaVersion.VERSION_1_7
2+
13
apply plugin: 'java'
24
apply plugin: 'groovy'
35
apply from: script('integrationTest')
46

57
description = 'Bol.com OpenAPI v4 HTTP Client'
68

9+
targetCompatibility = VERSION_1_7
10+
sourceCompatibility = VERSION_1_7
11+
712
dependencies {
813
compile project(':schema')
914
compile libraries.feign

subprojects/client/client.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
import static org.gradle.api.JavaVersion.VERSION_1_7
2+
13
apply plugin: 'java'
24
apply plugin: 'groovy'
35
apply from: script('integrationTest')
46

57
description = 'Bol.com OpenAPI v4 client'
68

9+
targetCompatibility = VERSION_1_7
10+
sourceCompatibility = VERSION_1_7
11+
712
dependencies {
813
compile project(':api')
914

subprojects/schema/schema.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
import static org.gradle.api.JavaVersion.VERSION_1_7
2+
13
apply from: script('jaxb')
24
apply plugin: 'groovy'
35

46
description = 'OpenAPI v4 Schema'
57

8+
targetCompatibility = VERSION_1_7
9+
sourceCompatibility = VERSION_1_7
10+
611
dependencies {
712
testCompile libraries.spock
813
testCompile libraries.hamcrest

0 commit comments

Comments
 (0)