Bump Gerrit to v3.10.0 and Java 17

Change-Id: I3105a9a0e08f64c7cf74ef112df2fdc4996cbc94
diff --git a/build.sbt b/build.sbt
index 017d30f..7d37dea 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,6 +1,6 @@
 enablePlugins(GitVersioning)
 
-val gerritApiVersion = "3.10.0-rc2"
+val gerritApiVersion = "3.10.0"
 
 val pluginName = "analytics"
 
@@ -16,6 +16,7 @@
     version := gerritApiVersion,
 
     scalaVersion := "2.13.10",
+    javacOptions ++= Seq("-source", "17", "-target", "17"),
 
     libraryDependencies ++= Seq(
       "io.fabric8" % "gitective-core" % "0.9.54"