diff --git a/dependency-check-gradle/build.gradle b/dependency-check-gradle/build.gradle
index 13508a3c4..aaaf3813c 100644
--- a/dependency-check-gradle/build.gradle
+++ b/dependency-check-gradle/build.gradle
@@ -38,6 +38,9 @@ apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: "com.gradle.plugin-publish"
+sourceCompatibility = 1.6
+targetCompatibility = 1.6
+
repositories {
mavenCentral()
}
diff --git a/dependency-check-gradle/pom.xml b/dependency-check-gradle/pom.xml
index 8bfaa9197..372562a66 100644
--- a/dependency-check-gradle/pom.xml
+++ b/dependency-check-gradle/pom.xml
@@ -34,12 +34,6 @@ Copyright (c) 2015 Wei Ma. All Rights Reserved.