Explorar o código

Add logging of jdk version to crypto build file

Luke Taylor %!s(int64=14) %!d(string=hai) anos
pai
achega
594f6694bb
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      crypto/crypto.gradle

+ 4 - 1
crypto/crypto.gradle

@@ -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) {