From 117f3206cacb4f4ca02422da4eb3c332a5596707 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Tue, 2 Nov 2010 15:18:32 -0400 Subject: [PATCH] INT-1578 added source/target compatibility setting, but it's not clear yet that it has an impact --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index f6e91faebc..327f7c663c 100644 --- a/build.gradle +++ b/build.gradle @@ -85,6 +85,10 @@ configure(javaprojects) { apply plugin: 'eclipse' // `gradle eclipse` to generate .classpath/.project apply plugin: 'idea' // `gradle idea` to generate .ipr/.iml + // ensure JDK 5 compatibility + sourceCompatibility=1.5 + targetCompatibility=1.5 + // set up dedicated directories for jars and source jars. // this makes it easier when putting together the distribution libsBinDir = new File(libsDir, 'bin')