Bump Gerrit to 3.6.0-rc3 and set Java 11
Java 8 isn't supported anymore with Gerrit v3.6 because
the source code is only compatible with Java 11 or later.
There is no point in generating Java 8 bytecode.
Change-Id: I1bbe41fc98a6b2e825bc7966e5aa203cf44413d3
diff --git a/pom.xml b/pom.xml
index ebafd4c..7da7f13 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
<groupId>com.gerritforge</groupId>
<artifactId>events-broker</artifactId>
- <version>3.6.0-rc2</version>
+ <version>3.6.0-rc3</version>
<packaging>jar</packaging>
<name>events-broker</name>
@@ -76,8 +76,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.1</version>
<configuration>
- <source>1.8</source>
- <target>1.8</target>
+ <source>11</source>
+ <target>11</target>
<annotationProcessorPaths>
<path>
<groupId>com.google.auto.value</groupId>