From ebc59b4d854a1c79f0459e21dbde30540699a663 Mon Sep 17 00:00:00 2001 From: Vitor Prado Date: Thu, 18 Feb 2016 18:20:41 -0200 Subject: [PATCH] Force compile with java 7 --- maybe/build.gradle | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/maybe/build.gradle b/maybe/build.gradle index e277b3f..937efa3 100644 --- a/maybe/build.gradle +++ b/maybe/build.gradle @@ -1,10 +1,17 @@ apply plugin: 'java' apply plugin: 'checkstyle' +version = '0.0' + dependencies { testCompile 'junit:junit:4.12' } checkstyle { - configFile file('../config/checkstyle/checkstyle.xml') + configFile file('../config/checkstyle/checkstyle.xml') +} + +compileJava { + sourceCompatibility = 1.7 + targetCompatibility = 1.7 } \ No newline at end of file