aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorIvan Dubrov <idubrov@guidewire.com>2014-04-25 09:21:36 -0700
committerIvan Dubrov <idubrov@guidewire.com>2014-04-25 09:21:36 -0700
commitc3a69c12f11d1a976eda036f0e0429db8316f40f (patch)
treeb7e0a374c49041af684040b0f6d96c552e965523 /build.gradle
parentc4e3bba18458776233801bd39afb85940a0731f3 (diff)
downloaddcevm-c3a69c12f11d1a976eda036f0e0429db8316f40f.tar.gz
dcevm-c3a69c12f11d1a976eda036f0e0429db8316f40f.zip
Renaming test/java to test/java7
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index f317d8a1..21b5eecd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -137,6 +137,8 @@ project('dcevm') {
def m = System.getProperty('java.version') =~ /^1\.([0-9]+)\.*/
def major = m[0][1].toInteger()
if (major >= 7) {
+ sourceSets.test.java.srcDirs += 'src/test/java7'
+ } else if (major >= 8) {
sourceSets.test.java.srcDirs += 'src/test/java8'
}