From 490b747d801b1b0cc6e0dae793bdb12a9273f7a6 Mon Sep 17 00:00:00 2001 From: Frank Becker Date: Wed, 10 Oct 2018 16:18:33 +0200 Subject: [PATCH 1/2] update jacoco an mockito to get tests running with jdk 11 ATTENTION: The GroovyTemplateEngine runs into problems. BUG! exception in phase 'semantic analysis' in source unit... See https://stackoverflow.com/questions/52195485/groovy-jdk-11-bug-exception-in-phase-semantic-analysis-in-source-unit-fileup Should be fixed with 2.5.3. --- build.gradle | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 875914d26..9827ba29b 100644 --- a/build.gradle +++ b/build.gradle @@ -30,7 +30,7 @@ ext { thymeleafVersion = '3.0.9.RELEASE' jsonSimpleVersion = '1.1.1' jade4jVersion = '1.2.7' - mockitoVersion = '2.16.0' + mockitoVersion = '2.23.0' jsoupVersion = '1.11.3' isTravis = (System.getenv("TRAVIS") == "true") diff --git a/gradle.properties b/gradle.properties index 287073669..7f22f5274 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ website=http://jbake.org issues=https://github.com/jbake-org/jbake/issues vcs=https://github.com/jbake-org/jbake/ -jacocoVersion=0.8.1 +jacocoVersion=0.8.2 bintrayDryRun=false bintrayOrg=jbake From b2316d3bc1c3eaf62311d7237361715bfa190cd3 Mon Sep 17 00:00:00 2001 From: Frank Becker Date: Sun, 14 Oct 2018 08:02:14 +0200 Subject: [PATCH 2/2] update groovy to 2.5.3. enable openjdk 11 build at travis. --- .travis.yml | 1 + build.gradle | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1d2fab0c2..bb5f95899 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,7 @@ after_success: - "./gradlew -PskipSigning jacocoRootReport coveralls || ./gradlew clean" jdk: + - openjdk11 - openjdk10 - oraclejdk9 - oraclejdk8 diff --git a/build.gradle b/build.gradle index 9827ba29b..5a4797924 100644 --- a/build.gradle +++ b/build.gradle @@ -23,7 +23,7 @@ ext { flexmarkVersion = '0.34.48' jettyServerVersion = '9.2.24.v20180105' orientDbVersion = '2.2.37' - groovyVersion = '2.5.2' + groovyVersion = '2.5.3' slf4jVersion = '1.7.25' logbackVersion = '1.2.3' assertjCoreVersion = '2.9.1'