diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 2 |
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' } |