[FLINK-19203] Use Scala 2.12
This closes #149
diff --git a/docs/_config.yml b/docs/_config.yml
index 8f3fc91..06284e1 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -37,9 +37,9 @@
github_branch: "master"
# Plain Scala version is needed for e.g. the Gradle quickstart.
-scala_version: "2.11"
+scala_version: "2.12"
# This suffix is appended to the Scala-dependent Maven artifact names
-scala_version_suffix: "_2.11"
+scala_version_suffix: "_2.12"
# Plain flink-shaded version is needed for e.g. the hive connector.
# Please update the shaded_version once new flink-shaded is released.
diff --git a/pom.xml b/pom.xml
index 9259262..361b705 100644
--- a/pom.xml
+++ b/pom.xml
@@ -77,7 +77,7 @@
<unixsocket.version>2.3.2</unixsocket.version>
<protoc-jar-maven-plugin.version>3.11.1</protoc-jar-maven-plugin.version>
<flink.version>1.11.1</flink.version>
- <scala.binary.version>2.11</scala.binary.version>
+ <scala.binary.version>2.12</scala.binary.version>
<root.dir>${rootDir}</root.dir>
</properties>
diff --git a/statefun-examples/statefun-state-processor-example/pom.xml b/statefun-examples/statefun-state-processor-example/pom.xml
index 4bc97a1..cc9f712 100644
--- a/statefun-examples/statefun-state-processor-example/pom.xml
+++ b/statefun-examples/statefun-state-processor-example/pom.xml
@@ -29,7 +29,7 @@
<artifactId>statefun-state-processor-example</artifactId>
<properties>
- <scala.binary.version>2.11</scala.binary.version>
+ <scala.binary.version>2.12</scala.binary.version>
</properties>
<dependencies>
@@ -60,4 +60,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
diff --git a/statefun-quickstart/src/main/resources/archetype-resources/pom.xml b/statefun-quickstart/src/main/resources/archetype-resources/pom.xml
index 2456330..1c1d223 100644
--- a/statefun-quickstart/src/main/resources/archetype-resources/pom.xml
+++ b/statefun-quickstart/src/main/resources/archetype-resources/pom.xml
@@ -32,7 +32,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<statefun.version>@project.version@</statefun.version>
<java.version>1.8</java.version>
- <scala.binary.version>2.11</scala.binary.version>
+ <scala.binary.version>2.12</scala.binary.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index de344d2..e7f2749 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM flink:1.11.1-scala_2.11-java8
+FROM flink:1.11.1-scala_2.12-java8
ENV ROLE worker
ENV MASTER_HOST localhost