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