Fixed java version

This commit is contained in:
Marcin Grzejszczak
2018-10-08 15:45:22 +02:00
parent 024d7ff9f8
commit ac0f4ce986
2 changed files with 6 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ ext {
]
JavaVersion javaVer = JavaVersion.current()
println "Current Java version equal to [${javaVer}]"
javaVersionNumber = javaVer.toString()
incompatibleJdk = javaVer.ordinal() > 8
}

View File

@@ -32,6 +32,11 @@
</parent>
<dependencies>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>2.4.15</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>