Skip to content

Commit 933e00f

Browse files
committed
Update to Java 11
1 parent 76898a2 commit 933e00f

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
jobs:
44
build:
55
docker:
6-
- image: cimg/openjdk:8.0
6+
- image: cimg/openjdk:11.0
77
working_directory: ~/hoverfly-java
88
steps:
99
- checkout
@@ -33,7 +33,7 @@ jobs:
3333

3434
deploy:
3535
docker:
36-
- image: cimg/openjdk:8.0
36+
- image: cimg/openjdk:11.0
3737
working_directory: ~/hoverfly-java
3838
steps:
3939
- checkout

.java-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.8
1+
11

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jacoco {
1616
group = 'io.specto'
1717
archivesBaseName = 'hoverfly-java'
1818

19-
sourceCompatibility = 1.8
20-
targetCompatibility = 1.8
19+
sourceCompatibility = 1.11
20+
targetCompatibility = 1.11
2121

2222
ext."release.useAutomaticVersion" = true
2323

@@ -167,7 +167,7 @@ jacocoTestReport {
167167
}
168168

169169
wrapper {
170-
gradleVersion = '4.10.2'
170+
gradleVersion = '5.6.4'
171171
}
172172

173173
// Tasks for updating Hoverfly binaries
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

junit5/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ buildscript {
44
}
55
}
66

7-
sourceCompatibility = 1.8
8-
targetCompatibility = 1.8
7+
sourceCompatibility = 1.11
8+
targetCompatibility = 1.11
99

1010
group = 'io.specto'
1111
archivesBaseName = 'hoverfly-java-junit5'

testng/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ buildscript {
77
group = 'io.specto'
88
archivesBaseName = 'hoverfly-java-testng'
99

10-
sourceCompatibility = 1.8
11-
targetCompatibility = 1.8
10+
sourceCompatibility = 1.11
11+
targetCompatibility = 1.11
1212

1313
repositories {
1414
mavenCentral()
@@ -23,7 +23,7 @@ dependencies {
2323
compile(rootProject) {
2424
exclude group: 'junit'
2525
}
26-
testCompile files(rootProject.sourceSets.test.output.classesDir)
26+
testCompile files(rootProject.sourceSets.test.output.classesDirs)
2727
testCompile "org.testng:testng:$testNgVersion"
2828
testCompile 'junit:junit:4.12'
2929
testCompile 'org.springframework:spring-web:4.3.20.RELEASE'

0 commit comments

Comments
 (0)