Fix handling of String Java version in cache smoke test

pull/32501/head
Andy Wilkinson 2 years ago
parent e8c218908c
commit 0b9c2025fb

@ -21,8 +21,8 @@ configurations {
infinispan
}
def javaVersion() {
project.extensions.java.toolchain.languageVersion.map({ it.asInt() }).getOrElse(JavaVersion.current().majorVersion)
int javaVersion() {
project.extensions.java.toolchain.languageVersion.map({ it.asInt() }).getOrElse(Integer.valueOf(JavaVersion.current().majorVersion))
}
dependencies {

Loading…
Cancel
Save