ソースを参照

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'