Add logging of jdk version to crypto build file
This commit is contained in:
parent
d686f64f26
commit
594f6694bb
|
@ -1,7 +1,10 @@
|
||||||
// crypto module build file
|
// crypto module build file
|
||||||
|
|
||||||
jdkVersion = System.properties['java.version']
|
jdkVersion = System.properties['java.version']
|
||||||
isJdk6 = jdkVersion >= '1.6'
|
javaClassVersion = System.properties['java.class.version']
|
||||||
|
println "JDK Version is $jdkVersion, class version is $javaClassVersion"
|
||||||
|
|
||||||
|
isJdk6 = jdkVersion.startsWith('1.6')
|
||||||
|
|
||||||
test {
|
test {
|
||||||
if (!isJdk6) {
|
if (!isJdk6) {
|
||||||
|
|
Loading…
Reference in New Issue