diff --git a/plugin-template/android/build.gradle b/plugin-template/android/build.gradle index 31776f2b3e..034dc47f78 100644 --- a/plugin-template/android/build.gradle +++ b/plugin-template/android/build.gradle @@ -34,6 +34,10 @@ android { lintOptions { abortOnError false } + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } } repositories {