Browse Source

Fix handling of String Java version in cache smoke test

pull/32501/head
Andy Wilkinson 3 years ago
parent
commit
0b9c2025fb
  1. 4
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle

4
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle vendored

@ -21,8 +21,8 @@ configurations { @@ -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