浏览代码

SEC-1994: explicit sourceCompatibility and targetCompatibility of 1.5 in Gradle build

Rob Winch 13 年之前
父节点
当前提交
262ee099df
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      gradle/javaprojects.gradle

+ 3 - 0
gradle/javaprojects.gradle

@@ -1,6 +1,9 @@
 apply plugin: 'java'
 apply plugin: 'eclipse'
 
+sourceCompatibility = 1.5
+targetCompatibility = 1.5
+
 ext.springVersion = '3.0.7.RELEASE'
 ext.springLdapVersion = '1.3.1.RELEASE'
 ext.ehcacheVersion = '1.6.2'