From 5a498e06bc82a86bab9a201ff2d859be51097d68 Mon Sep 17 00:00:00 2001 From: Gary Russell Date: Wed, 30 Nov 2016 15:40:45 -0500 Subject: [PATCH] Use Java 7 for JPA Tests --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index bf04c7b8a6..75a9a648e2 100644 --- a/build.gradle +++ b/build.gradle @@ -443,6 +443,12 @@ project('spring-integration-jmx') { project('spring-integration-jpa') { description = 'Spring Integration JPA Support' + + compileTestJava { + sourceCompatibility = 1.7 + targetCompatibility = 1.7 + } + dependencies { compile project(":spring-integration-core") compile "org.springframework:spring-orm:$springVersion"