diff --git a/build.gradle b/build.gradle index 8db08f4fe7e..ff555017557 100644 --- a/build.gradle +++ b/build.gradle @@ -8,7 +8,7 @@ subprojects { apply plugin: "maven-publish" sourceCompatibility = JavaVersion.VERSION_1_8 - targetCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.current() [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' diff --git a/common/build.gradle b/common/build.gradle index efd966897a4..9442baf4c2a 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -4,8 +4,6 @@ plugins { version '1.0.0' -sourceCompatibility = 1.8 - // Dependency versions // --------------------------------------- def leveldbVersion = "1.8" diff --git a/crypto/build.gradle b/crypto/build.gradle index 82814af49e6..699973e0173 100644 --- a/crypto/build.gradle +++ b/crypto/build.gradle @@ -4,8 +4,6 @@ plugins { version '1.0.0' -sourceCompatibility = 1.8 - repositories { mavenCentral() }