diff --git a/build.gradle b/build.gradle index deb7f87..2fc39de 100644 --- a/build.gradle +++ b/build.gradle @@ -33,13 +33,13 @@ ext { } version = artifactVersionString - -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +java { + sourceCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_1_8 +} repositories { mavenCentral() // for jacoco and kt3k.coveralls plugins - jcenter() // for mockito } configurations {