From 9c2046c3ee6a1c3699346bf7bdea27b483be2b86 Mon Sep 17 00:00:00 2001 From: Chris Beams Date: Fri, 28 Dec 2012 15:00:00 +0100 Subject: [PATCH] Update main source and target JDK compatibility Update source and target compatibility from 1.5 to 1.6, meaning that @Override is now allowed on implementations of interface methods within main classes. Issue: SPR-10130 --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index b2e7af70c6..7cc210cf45 100644 --- a/build.gradle +++ b/build.gradle @@ -33,8 +33,8 @@ configure(allprojects) { group = "org.springframework" compileJava { - sourceCompatibility=1.5 - targetCompatibility=1.5 + sourceCompatibility=1.6 + targetCompatibility=1.6 } compileTestJava { sourceCompatibility=1.7