Add logging of jdk version to crypto build file

This commit is contained in:
Luke Taylor 2011-01-20 01:31:30 +00:00
parent d686f64f26
commit 594f6694bb
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,10 @@
// crypto module build file
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 {
if (!isJdk6) {