From b6eb43efb7bbda2e8957ed859c14e07acf239d36 Mon Sep 17 00:00:00 2001 From: David Staheli Date: Sat, 1 Sep 2018 14:56:56 -0400 Subject: [PATCH] Set compiler source version in pom.xml --- build.gradle | 4 ++-- pom.xml | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 9edd5a4e5..c5bf06914 100644 --- a/build.gradle +++ b/build.gradle @@ -6,8 +6,8 @@ version = '1.0-SNAPSHOT' description = """Hello world sample web app""" -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +sourceCompatibility = 1.5 +targetCompatibility = 1.5 repositories { maven { url "http://repo.maven.apache.org/maven2" } diff --git a/pom.xml b/pom.xml index 1ed24e13f..0aa66b65c 100644 --- a/pom.xml +++ b/pom.xml @@ -7,6 +7,7 @@ 1.0-SNAPSHOT Hello world sample web app http://maven.apache.org + junit @@ -15,7 +16,14 @@ test + helloworld + + + 1.8 + 1.8 + +