From bdc0868ff0dca272b36e1f736a40066571901e1b Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Fri, 25 Apr 2014 11:28:49 -0700 Subject: [PATCH] Should run Java 8 tests on Java 8 --- build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index dbfc339f..2d59edf3 100644 --- a/build.gradle +++ b/build.gradle @@ -140,7 +140,8 @@ project('dcevm') { def major = m[0][1].toInteger() if (major >= 7) { sourceSets.test.java.srcDirs += 'src/test/java7' - } else if (major >= 8) { + } + if (major >= 8) { sourceSets.test.java.srcDirs += 'src/test/java8' } -- 2.39.5