From 51f23c1bbc33190e0597bbe64bedf5e05783b29e Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Mon, 22 Jun 2015 14:15:56 -0700 Subject: [PATCH] Added .netflixoss config file to tell our jenkins job to use JDK8 for build, but compile to java 7 compatability. --- .netflixoss | 2 ++ build.gradle | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 .netflixoss diff --git a/.netflixoss b/.netflixoss new file mode 100644 index 0000000000..f591e68404 --- /dev/null +++ b/.netflixoss @@ -0,0 +1,2 @@ +jdk=8 + diff --git a/build.gradle b/build.gradle index 1748ed19f8..17578ba2e2 100644 --- a/build.gradle +++ b/build.gradle @@ -27,6 +27,9 @@ subprojects { } group = "com.netflix.${githubProjectName}" + + sourceCompatibility = '1.7' + targetCompatibility = '1.7' sourceSets.test.java.srcDir 'src/main/java'