mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
Fix handling of String Java version in cache smoke test
This commit is contained in:
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…
Reference in New Issue
Block a user