From 38659850185f973d406bbad47d991036f0bceb6e Mon Sep 17 00:00:00 2001 From: tillkuhn Date: Sat, 21 Jan 2023 12:24:08 +0100 Subject: [PATCH] fix spring boot 3.0 test issues, upgrade greenmail and wiremock to new major versions even though both are still alpha resp. beta (fix issues https://github.com/greenmail-mail-test/greenmail/issues/513 and https://groups.google.com/g/wiremock-user/c/knTaDyBY70Q --- kotlin/gradle.properties | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/kotlin/gradle.properties b/kotlin/gradle.properties index aa50f48e..a67b7538 100644 --- a/kotlin/gradle.properties +++ b/kotlin/gradle.properties @@ -3,7 +3,11 @@ systemProp.archUnitVersion=0.23.1 systemProp.bucket4jVersion=7.6.0 systemProp.commonsLangVersion=3.12.0 systemProp.flywayVersion=9.12.0 -systemProp.greenmailVersion=1.6.12 +#systemProp.greenmailVersion=1.6.12 +# support jakarta mail? +# https://github.com/greenmail-mail-test/greenmail/issues/512 +# https://github.com/greenmail-mail-test/greenmail/issues/513 +systemProp.greenmailVersion=2.0.0-alpha-3 systemProp.hypersistenceUtilsVersion=3.1.1 systemProp.kotlinVersion=1.8.0 systemProp.mockitoInlineVersion=4.11.0 @@ -12,7 +16,11 @@ systemProp.romeVersion=1.18.0 systemProp.springBootVersion=3.0.2 systemProp.unirestVersion=1.4.9 systemProp.versionsVersion=0.44.0 -systemProp.wiremockVersion=2.33.2 +# fix java.lang.NoClassDefFoundError: javax/servlet/DispatcherType after +# migration to Spring Boot 3.0.0 +# https://groups.google.com/g/wiremock-user/c/knTaDyBY70Q +#systemProp.wiremockVersion=2.33.2 +systemProp.wiremockVersion=3.0.0-beta-2 # enable to support incremental processing # https://medium.com/@daniel_novak/making-incremental-kapt-work-speed-up-your-kotlin-projects-539db1a771cf