Skip to content

Commit bc5790f

Browse files
authored
Merge pull request #45 from thc202/travis-ci-java9
Add Java 9 to Travis CI builds
2 parents 8f5272a + 9ae817b commit bc5790f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
language: java
22
sudo: false
33

4+
jdk:
5+
- oraclejdk8
6+
- oraclejdk9
7+
48
before_cache:
59
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
610
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

subprojects/zap-clientapi/zap-clientapi.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ dependencyCheck {
3434
task japicmp(type: me.champeau.gradle.japicmp.JapicmpTask) {
3535
group 'verification'
3636
description "Checks artifacts' binary compatibility with latest (released) version '$versionBC'."
37-
check.dependsOn 'japicmp'
37+
if (!JavaVersion.current().isJava9Compatible()) {
38+
check.dependsOn 'japicmp'
39+
}
3840
inputs.file(jar)
3941

4042
oldClasspath = configurations.japicmpBaseline

0 commit comments

Comments
 (0)