diff --git a/build.gradle b/build.gradle index 2b6befb615..e5e64615bc 100644 --- a/build.gradle +++ b/build.gradle @@ -167,6 +167,10 @@ android { } check.dependsOn 'checkstyle', 'findbugs', 'pmd', 'lint' + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } dependencies {