From 328bd687024d40b10897c4b82b48b30f1282a125 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Mon, 20 Oct 2014 17:48:31 +0300 Subject: [PATCH] INT-3516 Fix JPA Build Error https://build.spring.io/browse/INT-B41-121 --- build.gradle | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 2f44209983..0bd7203cc5 100644 --- a/build.gradle +++ b/build.gradle @@ -63,15 +63,18 @@ subprojects { subproject -> } } + compileJava { sourceCompatibility = 1.6 targetCompatibility = 1.6 } compileTestJava { - sourceCompatibility = 1.8 + sourceCompatibility = 1.6 + targetCompatibility = 1.6 } + ext { activeMqVersion = '5.10.0' aspectjVersion = '1.8.2' @@ -243,6 +246,12 @@ project('spring-integration-amqp') { project('spring-integration-core') { description = 'Spring Integration Core' + + compileTestJava { + sourceCompatibility = 1.8 + targetCompatibility = 1.8 + } + dependencies { compile "org.springframework:spring-aop:$springVersion" compile "org.springframework:spring-context:$springVersion"