Check java version running the build.
@@ -64,6 +64,10 @@ firebaseContinuousIntegration {
]
}
+if(JavaVersion.current() != JavaVersion.VERSION_11){
+ throw new GradleException("This build must be run with java 11. You're using ${JavaVersion.current()}.")
+}
+
configure(subprojects) {
repositories {
google()
